Package dev.galasa.framework
Interface IFileSystem
- All Known Implementing Classes:
FileSystem
public interface IFileSystem
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateDirectories(Path folderPath) voidcreateFile(Path filePath) createFile(Path path, FileAttribute<?>... attrs) booleanbooleanisDirectory(Path filePath) booleanisRegularFile(Path filePath) newInputStream(Path folderPath) probeContentType(Path artifactPath) readString(Path path) longvoid
-
Method Details
-
createDirectories
- Throws:
IOException
-
createFile
- Throws:
IOException
-
exists
-
isRegularFile
-
isDirectory
-
walk
- Throws:
IOException
-
size
- Throws:
IOException
-
probeContentType
- Throws:
IOException
-
newInputStream
- Throws:
IOException
-
createFile
- Throws:
IOException
-
write
- Throws:
IOException
-
readLines
- Throws:
IOException
-
readString
- Throws:
IOException
-