Package io.github.astrapi69.file.create
Class FileContentInfo.FileContentInfoBuilder<C extends FileContentInfo,B extends FileContentInfo.FileContentInfoBuilder<C,B>>
- java.lang.Object
-
- io.github.astrapi69.file.create.FileInfo.FileInfoBuilder<C,B>
-
- io.github.astrapi69.file.create.FileContentInfo.FileContentInfoBuilder<C,B>
-
- Enclosing class:
- FileContentInfo
public abstract static class FileContentInfo.FileContentInfoBuilder<C extends FileContentInfo,B extends FileContentInfo.FileContentInfoBuilder<C,B>> extends FileInfo.FileInfoBuilder<C,B>
-
-
Constructor Summary
Constructors Constructor Description FileContentInfoBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract C
build()
B
checksum(java.lang.String checksum)
B
content(byte[] content)
protected abstract B
self()
java.lang.String
toString()
-
Methods inherited from class io.github.astrapi69.file.create.FileInfo.FileInfoBuilder
name, path
-
-
-
-
Method Detail
-
checksum
public B checksum(java.lang.String checksum)
-
content
public B content(byte[] content)
-
self
protected abstract B self()
- Specified by:
self
in classFileInfo.FileInfoBuilder<C extends FileContentInfo,B extends FileContentInfo.FileContentInfoBuilder<C,B>>
-
build
public abstract C build()
- Specified by:
build
in classFileInfo.FileInfoBuilder<C extends FileContentInfo,B extends FileContentInfo.FileContentInfoBuilder<C,B>>
-
toString
public java.lang.String toString()
- Overrides:
toString
in classFileInfo.FileInfoBuilder<C extends FileContentInfo,B extends FileContentInfo.FileContentInfoBuilder<C,B>>
-
-