|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mk.fsgrep.util.PackageResource mk.fsgrep.util.TextResource
public class TextResource
Read a resource from the jar (classpath actually) and return it as a string.
Field Summary |
---|
Fields inherited from class mk.fsgrep.util.PackageResource |
---|
INCLUDE_PATH, RE_MULTI_SLASH |
Constructor Summary | |
---|---|
protected |
TextResource(java.lang.String pUri)
|
Method Summary | |
---|---|
static java.lang.String |
get(java.lang.String pUri)
|
protected java.lang.Object |
readContent()
|
java.lang.String |
toString()
|
Methods inherited from class mk.fsgrep.util.PackageResource |
---|
getContent, getUri |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected TextResource(java.lang.String pUri)
Method Detail |
---|
public static java.lang.String get(java.lang.String pUri)
protected java.lang.Object readContent()
readContent
in class PackageResource
public java.lang.String toString()
toString
in class PackageResource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |