org.jsecurity.io
Class TextResource
java.lang.Object
org.jsecurity.io.AbstractResource
org.jsecurity.io.TextResource
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- IniResource
public abstract class TextResource
- extends AbstractResource
//TODO complete JavaDoc
- Since:
- 0.9
- Author:
- Les Hazlewood
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
charsetName
protected String charsetName
TextResource
public TextResource()
TextResource
public TextResource(String configBodyOrResourcePath)
TextResource
public TextResource(String configBodyOrResourcePath,
String charsetName)
TextResource
public TextResource(InputStream is)
TextResource
public TextResource(Reader r)
TextResource
public TextResource(Scanner s)
getCharsetName
public String getCharsetName()
setCharsetName
public void setCharsetName(String charsetName)
load
public void load(String resourcePath)
- Overrides:
load in class AbstractResource
doLoad
protected void doLoad(InputStream is)
throws Exception
- Specified by:
doLoad in class AbstractResource
- Throws:
Exception
load
public void load(Reader reader)
doLoad
protected void doLoad(BufferedReader reader)
load
public abstract void load(Scanner scanner)
Copyright © 2004-2008 JSecurity.