Package org.aksw.commons.io.process.pipe
Interface ProcessPipeEngine
-
- All Known Implementing Classes:
ProcessPipeEngineNative
public interface ProcessPipeEngineInterface to perform process execution. The purpose is to provide an abstraction that allows for additional implementations besidesProcessPipeEngineNative. One such future implementation may be based on the NuProcess library.- Author:
- raven
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.function.BiFunction<Path,Path,FileCreation>mapPathToPath(java.util.function.BiFunction<Path,Path,String[]> cmdBuilder)PathToStreammapPathToStream(java.util.function.Function<Path,String[]> cmdBuilder)java.util.function.BiFunction<InputStreamOrPath,Path,FileCreation>mapStreamToPath(java.util.function.Function<Path,String[]> cmdBuilder)StreamToStreammapStreamToStream(String[] cmd)
-
-
-
Method Detail
-
mapPathToPath
java.util.function.BiFunction<Path,Path,FileCreation> mapPathToPath(java.util.function.BiFunction<Path,Path,String[]> cmdBuilder)
-
mapPathToStream
PathToStream mapPathToStream(java.util.function.Function<Path,String[]> cmdBuilder)
-
mapStreamToStream
StreamToStream mapStreamToStream(String[] cmd)
-
mapStreamToPath
java.util.function.BiFunction<InputStreamOrPath,Path,FileCreation> mapStreamToPath(java.util.function.Function<Path,String[]> cmdBuilder)
-
-