public abstract class ReadField extends Object implements Comparable<ReadField>
| Modifier | Constructor and Description |
|---|---|
protected |
ReadField(String name,
boolean defaulted) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ReadField o) |
boolean |
getBoolean() |
byte |
getByte() |
char |
getChar() |
double |
getDouble() |
float |
getFloat() |
int |
getInt() |
abstract Kind |
getKind() |
long |
getLong() |
String |
getName() |
Object |
getObject() |
short |
getShort() |
boolean |
isDefaulted() |
protected ReadField(String name, boolean defaulted)
public abstract Kind getKind()
public String getName()
public boolean isDefaulted()
public boolean getBoolean()
throws IOException
IOExceptionpublic char getChar()
throws IOException
IOExceptionpublic float getFloat()
throws IOException
IOExceptionpublic double getDouble()
throws IOException
IOExceptionpublic byte getByte()
throws IOException
IOExceptionpublic short getShort()
throws IOException
IOExceptionpublic int getInt()
throws IOException
IOExceptionpublic long getLong()
throws IOException
IOExceptionpublic Object getObject() throws IOException
IOExceptionpublic int compareTo(ReadField o)
compareTo in interface Comparable<ReadField>Copyright © 2012 JBoss by Red Hat. All Rights Reserved.