Package com.atlassian.bamboo.util
Class BambooFile
java.lang.Object
java.io.File
com.atlassian.bamboo.util.BambooFile
- All Implemented Interfaces:
Serializable
,Comparable<File>
This object secures against creating file path with directory traversal string such a ../
- See Also:
-
Field Summary
Fields inherited from class java.io.File
pathSeparator, pathSeparatorChar, separator, separatorChar
-
Constructor Summary
ConstructorDescriptionBambooFile
(File parent, @NotNull String child) BambooFile
(String parent, @NotNull String child) -
Method Summary
Methods inherited from class java.io.File
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURL
-
Constructor Details
-
BambooFile
-
BambooFile
-