org.jsecurity.io
Class IniResource
java.lang.Object
org.jsecurity.io.AbstractResource
org.jsecurity.io.TextResource
org.jsecurity.io.IniResource
- All Implemented Interfaces:
- Serializable
public class IniResource
- extends TextResource
- 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 |
COMMENT_POUND
public static final String COMMENT_POUND
- See Also:
- Constant Field Values
COMMENT_SEMICOLON
public static final String COMMENT_SEMICOLON
- See Also:
- Constant Field Values
HEADER_PREFIX
public static final String HEADER_PREFIX
- See Also:
- Constant Field Values
HEADER_SUFFIX
public static final String HEADER_SUFFIX
- See Also:
- Constant Field Values
sections
protected Map<String,Map<String,String>> sections
IniResource
public IniResource()
IniResource
public IniResource(String configBodyOrResourcePath)
IniResource
public IniResource(String configBodyOrResourcePath,
String charsetName)
IniResource
public IniResource(InputStream is)
IniResource
public IniResource(Reader r)
IniResource
public IniResource(Scanner s)
getSections
public Map<String,Map<String,String>> getSections()
setSections
public void setSections(Map<String,Map<String,String>> sections)
load
public void load(Scanner scanner)
- Specified by:
load in class TextResource
isSectionHeader
protected static boolean isSectionHeader(String line)
getSectionName
protected static String getSectionName(String line)
Copyright © 2004-2008 JSecurity.