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 Summary
Modifier and TypeMethodDescriptionThis method returns the content type.This method returns the file name.This method returns the file input stream.long
getSize()
This method returns the file size.
-
Method Details
-
getFilename
String getFilename()This method returns the file name.- Returns:
- The filename
-
getContentType
String getContentType()This method returns the content type.- Returns:
- The content type
-
getSize
long getSize()This method returns the file size.- Returns:
- The file size
-
getInputStream
This method returns the file input stream.- Returns:
- The inputStream
- Throws:
IOException
- when something goes wrong
-