Package com.embabel.agent.tools.file
Object FileTools.Companion
-
- All Implemented Interfaces:
public class FileTools.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static FileTools.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final static FileReadToolsreadOnly(String root, List<StringTransformer> fileContentTransformers)Create a FileReadTools instance with the given root directory. final static FileReadToolsreadOnly(String root)Create a FileReadTools instance with the given root directory. final static FileToolsreadWrite(String root, List<StringTransformer> fileContentTransformers)Create a readwrite FileTools instance with the given root directory. final static FileToolsreadWrite(String root)Create a readwrite FileTools instance with the given root directory. -
-
Method Detail
-
readOnly
@JvmOverloads() final static FileReadTools readOnly(String root, List<StringTransformer> fileContentTransformers)
Create a FileReadTools instance with the given root directory.
-
readOnly
@JvmOverloads() final static FileReadTools readOnly(String root)
Create a FileReadTools instance with the given root directory.
-
readWrite
@JvmOverloads() final static FileTools readWrite(String root, List<StringTransformer> fileContentTransformers)
Create a readwrite FileTools instance with the given root directory.
-
readWrite
@JvmOverloads() final static FileTools readWrite(String root)
Create a readwrite FileTools instance with the given root directory.
-
-
-
-