|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.io.SimpleStreamableObject
com.threerings.config.dist.data.ConfigEntry
public class ConfigEntry
Represents an added or updated configuration.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
|---|
Streamable.Closure |
| Field Summary | |
|---|---|
protected byte[] |
_bytes
The exported config. |
protected ManagedConfig |
_config
The config object. |
protected ConfigKey |
_key
The config key. |
| Constructor Summary | |
|---|---|
ConfigEntry()
No-arg constructor for deserialization. |
|
ConfigEntry(ManagedConfig config)
Creates a new config entry. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
|
ManagedConfig |
getConfig()
Returns a reference to the config object. |
Class<? extends ManagedConfig> |
getConfigClass()
Returns the config class. |
Comparable<?> |
getKey()
|
String |
getName()
Returns the name of the config. |
void |
readObject(ObjectInputStream in)
Custom read method for streaming. |
String |
toString()
|
| Methods inherited from class com.threerings.io.SimpleStreamableObject |
|---|
toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ConfigKey _key
protected byte[] _bytes
protected transient ManagedConfig _config
| Constructor Detail |
|---|
public ConfigEntry(ManagedConfig config)
public ConfigEntry()
| Method Detail |
|---|
public Class<? extends ManagedConfig> getConfigClass()
public String getName()
public ManagedConfig getConfig()
public void readObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundExceptionpublic Comparable<?> getKey()
getKey in interface DSet.Entrypublic String toString()
toString in class SimpleStreamableObjectpublic boolean equals(Object other)
equals in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||