java.lang.Object
io.github.astrapi69.file.create.FileInfo
io.github.astrapi69.file.create.FileContentInfo
The class
FileContentInfo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
FileContentInfo.FileContentInfoBuilder<C extends FileContentInfo,
B extends FileContentInfo.FileContentInfoBuilder<C, B>> Nested classes/interfaces inherited from class io.github.astrapi69.file.create.FileInfo
FileInfo.FileInfoBuilder<C extends FileInfo,
B extends FileInfo.FileInfoBuilder<C, B>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FileContentInfo.FileContentInfoBuilder<?,
?> builder()
protected boolean
boolean
byte[]
int
hashCode()
void
setChecksum
(String checksum) void
setContent
(byte[] content) static File
toFile
(FileContentInfo fileContentInfo) static FileContentInfo
toFileContentInfo
(File file) toString()
Methods inherited from class io.github.astrapi69.file.create.FileInfo
getName, getPath, isDirectory, setDirectory, setName, setPath, toBuilder, toFile, toFileInfo
-
Constructor Details
-
FileContentInfo
-
FileContentInfo
public FileContentInfo() -
FileContentInfo
-
-
Method Details
-
toFileContentInfo
-
toFile
-
builder
-
getChecksum
-
setChecksum
-
getContent
public byte[] getContent() -
setContent
public void setContent(byte[] content) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-