Package echo.util
Class FindFileInClassPath
java.lang.Object
echo.util.FindFileInClassPath
Try to retrieve content from the java class path. Usually placed under src/main/resources
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFindFileInClassPath
(PluginLog mavenPluginLog) Creates a new instance of the class -
Method Summary
Modifier and TypeMethodDescriptionReturn stream to file contentboolean
isFound()
Return true if stream is opened to file contentvoid
Try to open a stream to the file location in the class path
-
Field Details
-
mavenPluginLog
-
inputStream
-
absoluteFilePath
-
-
Constructor Details
-
FindFileInClassPath
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 in the class path -
isFound
public boolean isFound()Return true if stream is opened to file content -
getInputStream
Return stream to file content -
getAbsoluteFilePath
-