Annotation Interface File


@Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface File
The File annotation marks a String property as a file such that the String can be changed by a browser.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The file extension string.
  • Element Details

    • value

      String value
      The file extension string.
      Returns:
      the file extension string
      Default:
      ""