|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmorfologik.fsa.core.FSAHelpers
public final class FSAHelpers
This class has several static utility methods for use with the FSA package.
| Method Summary | |
|---|---|
static java.lang.String |
flagsToString(int flags)
Converts an integer with FSA flags to a human-readable string. |
static int |
getFlags(int version)
Returns flags as an integer for a given version number. |
static byte |
getVersion(int flags)
Returns a version number for a set of flags. |
static byte[] |
resizeByteBuffer(byte[] buffer,
int newSize)
Expand a byte array and copy the contents from the previous array to the new one. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String flagsToString(int flags)
public static byte getVersion(int flags)
public static int getFlags(int version)
java.lang.RuntimeException - if the version number is not recognized.
public static byte[] resizeByteBuffer(byte[] buffer,
int newSize)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||