Package org.smallmind.file.jailed
Class ContextSensitiveRootedPathTranslator
- java.lang.Object
-
- org.smallmind.file.jailed.AbstractJailedPathTranslator
-
- org.smallmind.file.jailed.ContextSensitiveRootedPathTranslator
-
- All Implemented Interfaces:
JailedPathTranslator
public class ContextSensitiveRootedPathTranslator extends AbstractJailedPathTranslator
-
-
Constructor Summary
Constructors Constructor Description ContextSensitiveRootedPathTranslator(FileSystem nativeFileSystem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileSystemgetNativeFileSystem()PathunwrapPath(Path jailedPath)PathwrapPath(JailedFileSystem jailedFileSystem, Path nativePath)-
Methods inherited from class org.smallmind.file.jailed.AbstractJailedPathTranslator
unwrapPath, wrapPath
-
-
-
-
Constructor Detail
-
ContextSensitiveRootedPathTranslator
public ContextSensitiveRootedPathTranslator(FileSystem nativeFileSystem)
-
-
Method Detail
-
getNativeFileSystem
public FileSystem getNativeFileSystem()
-
wrapPath
public Path wrapPath(JailedFileSystem jailedFileSystem, Path nativePath)
-
-