|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.claudio.fat.Util
public class Util
Copyright (C) 2007 Claudio Nieder <private@claudio.ch>, CH-8610 Uster
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Constructor Summary | |
---|---|
Util()
|
Method Summary | |
---|---|
static int |
get2(byte[] b,
int off)
Get little endian 16 bit value from block |
static int |
get4(byte[] b,
int off)
Get little endian 32 bit value from block |
static java.lang.String |
getAscii(byte[] b,
int off,
int len)
Get ASCII string from block |
static void |
main(java.lang.String[] args)
Print license. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static int get2(byte[] b, int off)
b
- blockoff
- offset
public static int get4(byte[] b, int off)
b
- blockoff
- offset
public static java.lang.String getAscii(byte[] b, int off, int len) throws java.io.UnsupportedEncodingException
b
- blockoff
- offsetlen
- length
java.io.UnsupportedEncodingException
public static void main(java.lang.String[] args)
args
- ignored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |