Interface FileSystemAdapter<D,F>
-
- All Known Implementing Classes:
NioFileSystemAdapter
public interface FileSystemAdapter<D,F>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcreateParentDirectories(F file)voiddeleteIfExists(F file)booleanexists(F file)DgetDirectory(String path)StringgetDisplayPath(D dir, F file)FgetFile(D dir, String fileName)StringgetFileName(F file)StringgetRelativeFilePath(D dir, F file)List<F>listFiles(D dir, boolean recursive)InputStreamnewInputStream(F file)OutputStreamnewOutputStream(F file)
-
-
-
Method Detail
-
exists
boolean exists(F file)
-
newInputStream
InputStream newInputStream(F file) throws Exception
- Throws:
Exception
-
newOutputStream
OutputStream newOutputStream(F file) throws Exception
- Throws:
Exception
-
-