Package de.dlr.proseo.storagemgr.model
Schnittstelle StorageFile
- Alle bekannten Implementierungsklassen:
PosixStorageFile
,S3StorageFile
public interface StorageFile
Storage File Structure. The file can exist or it can be just an abstract
structure.
- Autor:
- Denys Chaykovskiy
-
Feldübersicht
Felder -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGets the base pathGets the bucketGets extension from file nameGets file nameGets the full pathGets relative pathGets storage typeboolean
Checks if path is a directory pathvoid
setBasePath
(String basePath) Sets the base pathvoid
Sets the bucketvoid
setRelativePath
(String relativePath) Sets relative path
-
Felddetails
-
NO_BUCKET
No bucket is an empty string- Siehe auch:
-
-
Methodendetails
-
getFullPath
String getFullPath()Gets the full path- Gibt zurück:
- the full path
-
getBasePath
String getBasePath()Gets the base path- Gibt zurück:
- the base path
-
setBasePath
Sets the base path- Parameter:
basePath
- base path
-
getBucket
String getBucket()Gets the bucket- Gibt zurück:
- the bucket
-
setBucket
Sets the bucket- Parameter:
bucket
- the bucket
-
getRelativePath
String getRelativePath()Gets relative path- Gibt zurück:
- relative path
-
setRelativePath
Sets relative path- Parameter:
relativePath
- relative path
-
getFileName
String getFileName()Gets file name- Gibt zurück:
- file name
-
getStorageType
StorageType getStorageType()Gets storage type- Gibt zurück:
- storage type
-
getExtension
String getExtension()Gets extension from file name- Gibt zurück:
- extension
-
isDirectory
boolean isDirectory()Checks if path is a directory path- Gibt zurück:
- true if directory
-