Package org.nuclos.api.common
Interface NuclosFile
- All Superinterfaces:
NuclosFileBase
Class representing a file with its name and contents.
- Author:
- reichama
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
returns the content of the filegetName()
returns the filenamevoid
setContent
(byte[] fileContents) sets the content to the filevoid
sets the filenametoLink()
-
Method Details
-
getName
String getName()returns the filename -
setName
sets the filename -
getContent
byte[] getContent()returns the content of the file -
setContent
void setContent(byte[] fileContents) sets the content to the file -
toLink
NuclosFileLink toLink()
-