Package one.tranic.t.base.parse.resource
Class ResourceParser
java.lang.Object
one.tranic.t.base.parse.resource.ResourceParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InputStreamRetrieves an InputStream for a specified resource file by its filename.
-
Constructor Details
-
ResourceParser
public ResourceParser()
-
-
Method Details
-
resource
Retrieves an InputStream for a specified resource file by its filename.- Parameters:
filename- the name of the resource file to be loaded- Returns:
- an InputStream for the resource file, or null if the resource cannot be found or accessed
-