public class StartupParameters
extends java.lang.Object
implements java.io.Externalizable
Modifier and Type | Field and Description |
---|---|
private boolean |
v6colon
V6Colon startup option
|
Constructor and Description |
---|
StartupParameters()
Default constructor for serialization needs.
|
StartupParameters(boolean v6colon)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isV6colon()
Getter for V6Colon.
|
void |
readExternal(java.io.ObjectInput in)
Replacement for the default object reading method.
|
void |
writeExternal(java.io.ObjectOutput out)
Replacement for the default object writing method.
|
public StartupParameters()
public StartupParameters(boolean v6colon)
v6colon
- Parameter value.public boolean isV6colon()
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
out
- The output destination to which parameters will be saved.java.io.IOException
- In case of I/O errors.public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
in
- The input source from which parameters will be restored.java.io.IOException
- In case of I/O errors.java.lang.ClassNotFoundException
- If a parameter can't be instantiated.