org.broad.tribble
Class LittleEndianInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.broad.tribble.LittleEndianInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class LittleEndianInputStream
- extends java.io.FilterInputStream
File retrieved from BigWig project at Google code on July 26, 2011, revision
36
http://code.google.com/p/bigwig/
This project provides java readers for the UCSC's BigWig and BigBed formats.
It was originally developed by Martin Decautis and Jim Robinson for the
Integrative Genomics Viewer (http://www.broadinstitute.org/igv). Thanks to
Jim Kent and Ann Zweig and from UCSC for their assistance.
Modification to work with GenomeView by Thomas Abeel.
- Author:
- Martin Decautis, Jim Robinson, Thomas Abeel
Fields inherited from class java.io.FilterInputStream |
in |
Methods inherited from class java.io.FilterInputStream |
available, close, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LittleEndianInputStream
public LittleEndianInputStream(java.io.InputStream in)
readBoolean
public boolean readBoolean()
throws java.io.IOException
- Throws:
java.io.IOException
readByte
public byte readByte()
throws java.io.IOException
- Throws:
java.io.IOException
readUnsignedByte
public int readUnsignedByte()
throws java.io.IOException
- Throws:
java.io.IOException
readShort
public short readShort()
throws java.io.IOException
- Throws:
java.io.IOException
readUnsignedShort
public int readUnsignedShort()
throws java.io.IOException
- Throws:
java.io.IOException
readChar
public char readChar()
throws java.io.IOException
- Throws:
java.io.IOException
readInt
public int readInt()
throws java.io.IOException
- Throws:
java.io.IOException
readLong
public long readLong()
throws java.io.IOException
- Throws:
java.io.IOException
readDouble
public final double readDouble()
throws java.io.IOException
- Throws:
java.io.IOException
readFloat
public final float readFloat()
throws java.io.IOException
- Throws:
java.io.IOException
readString
public java.lang.String readString()
throws java.io.IOException
- Read a null terminated byte array and return result as a string
- Returns:
-
- Throws:
java.io.IOException
Copyright © 2007-2011 - Thomas Abeel - All Rights Reserved.