Package de.dlr.proseo.storagemgr.s3
Klasse S3StorageFile
java.lang.Object
de.dlr.proseo.storagemgr.s3.S3StorageFile
- Alle implementierten Schnittstellen:
StorageFile
Represents a file within a S3-based storage system. It implements the
StorageFile interface and provides functionality related to the file's
properties and operations.
Full path: "s3:/" + bucket + relativePath (with fileName)
- Autor:
- Denys Chaykovskiy
-
Feldübersicht
Von Schnittstelle geerbte Felder de.dlr.proseo.storagemgr.model.StorageFile
NO_BUCKET -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungS3StorageFile(StorageFile storageFile) Copy ConstructorS3StorageFile(String bucket, String relativePath) Constructor -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGets the base pathGets the bucketGets extension from file nameGets file nameGets the full pathGets relative pathGets storage typebooleanChecks if path is a directory pathvoidsetBasePath(String basePath) Sets the base pathvoidSets the bucketvoidsetRelativePath(String relativePath) Sets relative path
-
Konstruktordetails
-
S3StorageFile
Constructor- Parameter:
bucket- bucketrelativePath- relative path
-
S3StorageFile
Copy Constructor- Parameter:
storageFile- Storage file
-
-
Methodendetails
-
getFullPath
Gets the full path- Angegeben von:
getFullPathin SchnittstelleStorageFile- Gibt zurück:
- the full path
-
getBasePath
Gets the base path- Angegeben von:
getBasePathin SchnittstelleStorageFile- Gibt zurück:
- the base path
-
setBasePath
Sets the base path- Angegeben von:
setBasePathin SchnittstelleStorageFile- Parameter:
basePath- base path
-
getBucket
Gets the bucket- Angegeben von:
getBucketin SchnittstelleStorageFile- Gibt zurück:
- the bucket
-
setBucket
Sets the bucket- Angegeben von:
setBucketin SchnittstelleStorageFile- Parameter:
bucket- the bucket
-
getRelativePath
Gets relative path- Angegeben von:
getRelativePathin SchnittstelleStorageFile- Gibt zurück:
- relative path
-
setRelativePath
Sets relative path- Angegeben von:
setRelativePathin SchnittstelleStorageFile- Parameter:
relativePath- relative path
-
getFileName
Gets file name- Angegeben von:
getFileNamein SchnittstelleStorageFile- Gibt zurück:
- file name
-
getStorageType
Gets storage type- Angegeben von:
getStorageTypein SchnittstelleStorageFile- Gibt zurück:
- storage type
-
getExtension
Gets extension from file name- Angegeben von:
getExtensionin SchnittstelleStorageFile- Gibt zurück:
- extension
-
isDirectory
public boolean isDirectory()Checks if path is a directory path- Angegeben von:
isDirectoryin SchnittstelleStorageFile- Gibt zurück:
- true if directory
-