Package com.intellectualsites.paster
Class IncendoPaster.PasteFile
java.lang.Object
com.intellectualsites.paster.IncendoPaster.PasteFile
- Enclosing class:
- IncendoPaster
Simple class that represents a paste file
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the file content as a single stringGet the file name
-
Constructor Details
-
PasteFile
Construct a new paste file- Parameters:
fileName- File name, cannot be empty, nor nullcontent- File content, cannot be empty, nor null
-
-
Method Details
-
getFileName
Get the file name- Returns:
- File name
-
getContent
Get the file content as a single string- Returns:
- File content
-