public class RobotConfigFile
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RobotConfigFile.FileLocation |
Constructor and Description |
---|
RobotConfigFile(RobotConfigFileManager configFileManager,
java.lang.String name) |
RobotConfigFile(java.lang.String name,
int resourceId) |
Modifier and Type | Method and Description |
---|---|
boolean |
containedIn(java.util.Collection<RobotConfigFile> configFiles) |
static RobotConfigFile |
fromString(RobotConfigFileManager configFileManager,
java.lang.String serializedForm) |
java.io.File |
getFullPath() |
RobotConfigFile.FileLocation |
getLocation() |
java.lang.String |
getName() |
int |
getResourceId() |
XmlPullParser |
getXml() |
protected XmlPullParser |
getXmlLocalStorage() |
protected XmlPullParser |
getXmlNone() |
protected XmlPullParser |
getXmlResource() |
boolean |
isDirty() |
boolean |
isNoConfig() |
boolean |
isReadOnly() |
void |
markClean() |
void |
markDirty() |
static RobotConfigFile |
noConfig(RobotConfigFileManager configFileManager) |
java.lang.String |
toString() |
public RobotConfigFile(RobotConfigFileManager configFileManager, java.lang.String name)
public RobotConfigFile(java.lang.String name, int resourceId)
public static RobotConfigFile noConfig(RobotConfigFileManager configFileManager)
public boolean isReadOnly()
public boolean containedIn(java.util.Collection<RobotConfigFile> configFiles)
public void markDirty()
public void markClean()
public boolean isDirty()
public java.lang.String getName()
public java.io.File getFullPath()
public int getResourceId()
public RobotConfigFile.FileLocation getLocation()
public XmlPullParser getXml()
protected XmlPullParser getXmlNone()
protected XmlPullParser getXmlLocalStorage()
protected XmlPullParser getXmlResource()
public boolean isNoConfig()
public java.lang.String toString()
toString
in class java.lang.Object
public static RobotConfigFile fromString(RobotConfigFileManager configFileManager, java.lang.String serializedForm)