Package dev.galasa.framework
Interface IFileSystem
- All Known Implementing Classes:
FileSystem
public interface IFileSystem
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createDirectories
(Path folderPath) void
createFile
(Path filePath) createFile
(Path path, FileAttribute<?>... attrs) boolean
boolean
isDirectory
(Path filePath) boolean
isRegularFile
(Path filePath) newInputStream
(Path folderPath) probeContentType
(Path artifactPath) readString
(Path path) long
void
-
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
-