Package com.dtolabs.rundeck.core.logging
Interface StorageFile
-
public interface StorageFileRepresents a file to be stored
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.lang.StringgetFiletype()java.io.InputStreamgetInputStream()java.util.DategetLastModified()longgetLength()booleanisComplete()default booleanstorageFileExists()
-
-
-
Method Detail
-
getFiletype
java.lang.String getFiletype()
- Returns:
- File type
-
getInputStream
java.io.InputStream getInputStream()
- Returns:
- input stream
-
getLength
long getLength()
- Returns:
- content length
-
getLastModified
java.util.Date getLastModified()
- Returns:
- last modified date
-
isComplete
boolean isComplete()
- Returns:
- true if the file is complete
-
storageFileExists
default boolean storageFileExists()
- Returns:
- true if the file is available for streaming
-
-