Interface IFileDefinition

All Known Implementing Classes:
FileDefinition, TransformedFileDefinition

public interface IFileDefinition
This interface describes a file definition used when uploading files
Author:
N. van Noorloos
  • Method Details Link icon

    • getFilename Link icon

      String getFilename()
      This method returns the file name.
      Returns:
      The filename
    • getContentType Link icon

      String getContentType()
      This method returns the content type.
      Returns:
      The content type
    • getSize Link icon

      long getSize()
      This method returns the file size.
      Returns:
      The file size
    • getInputStream Link icon

      InputStream getInputStream() throws IOException
      This method returns the file input stream.
      Returns:
      The inputStream
      Throws:
      IOException - when something goes wrong