Package com.atlassian.bamboo.file
Class SafeFileFactory
- Since:
- 12.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bamboo.file.SafeFileOperationFactory
SafeFileOperationFactory.NoValidationReason -
Method Summary
Modifier and TypeMethodDescriptionget()static SafeFileFactorystatic SafeFileFactorystatic SafeFileFactorystatic SafeFileFactorystatic SafeFileFactorystatic SafeFileFactorystatic SafeFileFactoryprotected StringtoPath()Returns the path to the file.Methods inherited from class com.atlassian.bamboo.file.SafeFileOperationFactory
create, createWithoutValidation, withSecureDirectory, withSecureDirectory, withSecureDirectory
-
Method Details
-
of
-
of
-
of
-
lenient
-
of
-
lenient
-
strict
-
toPath
Description copied from class:SafeFileOperationFactoryReturns the path to the file. This should be the file to which the file operator give the access. e.g. for java.io.File it would be java.io.File#getPath()- Specified by:
toPathin classSafeFileOperationFactory<File>- Returns:
- the path as a string
-
get
- Specified by:
getin classSafeFileOperationFactory<File>
-