Interface FileValue

All Superinterfaces:
Serializable, TypedValue
All Known Subinterfaces:
DeferredFileValue
All Known Implementing Classes:
DeferredFileValueImpl, FileValueImpl

public interface FileValue extends TypedValue
Since:
7.4
Author:
Ronny Bräunlich
  • Method Details

    • getFilename

      String getFilename()
    • getMimeType

      String getMimeType()
    • getEncodingAsCharset

      Charset getEncodingAsCharset()
      Convenience method to save the transformation. This method will perform no check if the saved encoding is known to the JVM and therefore could throw every exception that Charset.forName(String) lists.

      If no encoding has been saved it will return null.

    • getEncoding

      String getEncoding()
      Returns:
      the saved encoding or null if none has been saved
    • getValue

      InputStream getValue()
      Description copied from interface: TypedValue
      The actual value. May be null in case the value is null.
      Specified by:
      getValue in interface TypedValue
      Returns:
      the value