Package com.kazurayam.materialstore.core
Class Jobber
java.lang.Object
com.kazurayam.materialstore.core.Jobber
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
byte[]
byte[]
read
(IndexEntry indexEntry) byte[]
selectMaterial
(ID id) selectMaterials
(IFileType fileType, QueryOnMetadata query) selectMaterials
(QueryOnMetadata query) int
size()
write
(byte[] data, IFileType fileType, Metadata metadata, Jobber.DuplicationHandling duplicationHandling)
-
Constructor Details
-
Jobber
public Jobber(Store store, JobName jobName, JobTimestamp jobTimestamp) throws MaterialstoreException - Throws:
MaterialstoreException
-
-
Method Details
-
getJobResultDir
-
getJobName
-
getJobTimestamp
-
getObjectsDir
-
read
- Throws:
MaterialstoreException
-
read
- Throws:
MaterialstoreException
-
read
- Throws:
MaterialstoreException
-
selectMaterials
-
selectMaterials
-
selectMaterial
-
size
public int size() -
write
public Material write(byte[] data, IFileType fileType, Metadata metadata) throws MaterialstoreException - Throws:
MaterialstoreException
-
write
public Material write(byte[] data, IFileType fileType, Metadata metadata, Jobber.DuplicationHandling duplicationHandling) throws MaterialstoreException - Throws:
MaterialstoreException
-
getOBJECTS_DIR_NAME
-