Package com.helger.commons.io.relative
Class FileRelativeIO
- java.lang.Object
-
- com.helger.commons.io.relative.FileRelativeIO
-
- All Implemented Interfaces:
IFileRelativeIO,IPathRelativeIO
@Immutable public class FileRelativeIO extends Object implements IFileRelativeIO
Default implementation ofIFileRelativeIO.- Author:
- Philip Helger
-
-
Constructor Summary
Constructors Constructor Description FileRelativeIO(File aBasePath)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileRelativeIOcreateForCurrentDir()booleanequals(Object o)FilegetBasePathFile()inthashCode()static voidinternalCheckAccessRights(File aBasePath)StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.helger.commons.io.relative.IFileRelativeIO
appendFile, appendFile, createDirectory, deleteDirectory, deleteDirectoryIfExisting, deleteFile, deleteFileIfExisting, existsDir, existsFile, getBasePath, getFile, getOutputStream, getOutputStream, getRelativeFilename, getResource, getWriter, getWriter, renameDir, renameFile, saveFile, saveFile, writeFile
-
Methods inherited from interface com.helger.commons.io.relative.IPathRelativeIO
getInputStream, getReader
-
-
-
-
Method Detail
-
getBasePathFile
@Nonnull public File getBasePathFile()
- Specified by:
getBasePathFilein interfaceIFileRelativeIO- Returns:
- The base path. Never
null.
-
createForCurrentDir
@Nonnull public static FileRelativeIO createForCurrentDir()
-
-