Module uk.autores
Package uk.autores

Annotation Type InputStreams


Annotation for GenerateInputStreamsFromFiles.

     // EXAMPLE ANNOTATION
     @InputStreams(value = "foo.bin", name = "Data")
 

     // EXAMPLE CODE
     try (java.io.InputStream in = Data.foo()) {
         // etc...
     } catch (java.io.IOException e) {
         // handle exception
     }
 
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Generated code visibility.
    Generated class name.
    Common processing instructions.
    Resource files.
  • Element Details

    • value

      String[] value
      Resource files.
      Returns:
      resources
      Default:
      {}
    • processing

      Processing processing
      Common processing instructions.
      Returns:
      instruction annotation
      Default:
      @uk.autores.Processing(namer=uk.autores.naming.IdiomaticNamer.class)
    • isPublic

      boolean isPublic
      Generated code visibility.
      Returns:
      visibility
      Default:
      false
    • name

      String name
      Generated class name.
      Returns:
      class name
      Default:
      ""