Package echo.util
Class FindFileInAbsolutePath
java.lang.Object
echo.util.FindFileInAbsolutePath
Try to retrieve content from an absolute file path. Example /usr/bin/content.txt
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFindFileInAbsolutePath
(PluginLog mavenPluginLog) Creates a new instance of the class -
Method Summary
Modifier and TypeMethodDescriptionReturn stream to file path contentboolean
isFound()
Return true if stream is opened to file pathvoid
Try to open a stream to the file location
-
Field Details
-
mavenPluginLog
-
inputStream
-
absoluteFilePath
-
-
Constructor Details
-
FindFileInAbsolutePath
Creates a new instance of the class- Parameters:
mavenPluginLog
- Wrapper for Maven internal plugin logger
-
-
Method Details
-
openFile
Try to open a stream to the file location -
isFound
public boolean isFound()Return true if stream is opened to file path -
getAbsoluteFilePath
-
getInputStream
Return stream to file path content
-