Package backupmanager.stream
Class FileStreamItem
java.lang.Object
backupmanager.stream.StreamItem
backupmanager.stream.FileStreamItem
- All Implemented Interfaces:
Comparable<StreamItem>
-
Constructor Summary
ConstructorDescriptionFileStreamItem
(File file) Construct a FileStremItem that will take it's start and end times from the creation and modified times in the file attributes.FileStreamItem
(File file, Long startTime, Long endTime) -
Method Summary
Methods inherited from class backupmanager.stream.StreamItem
addFilterMessage, compareTo, getActionMessage, getDatabaseIndex, getFilterMessage, isProcessIt, setActionMessage, setDatabaseIndex, setFilterMessage, setProcessIt, setSize
-
Constructor Details
-
FileStreamItem
-
FileStreamItem
Construct a FileStremItem that will take it's start and end times from the creation and modified times in the file attributes.- Parameters:
file
-
-
-
Method Details
-
getName
- Overrides:
getName
in classStreamItem
-
getFile
- Returns:
- the file
-
getStartUTC
- Overrides:
getStartUTC
in classStreamItem
-
getEndUTC
- Overrides:
getEndUTC
in classStreamItem
-
getSize
- Overrides:
getSize
in classStreamItem
- Returns:
- the size
-