public class Part extends ExtractionResultCollection
Modifier and Type | Field and Description |
---|---|
java.lang.String |
fileName
Name of the file
|
java.lang.String |
path
Path to the file
|
extractionResults, petVersion, profileUUID
Constructor and Description |
---|
Part()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Part |
create(java.nio.file.Path file,
java.lang.String profileuuId)
Private constructor and construction method to check, if the passed file
exists.
|
java.nio.file.Path |
getFile()
get the parts Path
|
java.lang.String |
getPath()
get the parts string path
|
java.lang.String |
toString()
Prints name of the parts file
|
addExtractionResult, deleteExtractedInformation, sortResults
public java.lang.String fileName
public java.lang.String path
@Deprecated public Part()
public static Part create(java.nio.file.Path file, java.lang.String profileuuId)
file
- path to the file represented by this PartprofileuuId
- UUID where the Part should belong topublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getPath()
public java.nio.file.Path getFile()