|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttapeutils.zx81.TZXZX81Block
This class represents ZX81 data from a TZX file's generic block.
Constructor Summary | |
---|---|
TZXZX81Block(java.io.InputStream is)
Construct from an input stream. |
|
TZXZX81Block(ZX81SampleAnalyzer analyzer,
int pause)
Construct from a program name and bytes. |
Method Summary | |
---|---|
byte[] |
getBytes()
|
byte[] |
getOneSymbolTable()
|
int |
getPause()
|
byte[] |
getProgramNameBytes()
|
byte[] |
getZeroSymbolTable()
|
boolean |
read(java.io.InputStream is)
Read the ZX81 data from the given output stream. |
static java.util.List |
readTZXZX81Blocks(java.io.File file)
Read in the ZX81 blocks from the file. |
static java.util.List |
readTZXZX81Blocks(java.io.InputStream is)
Read in the ZX81 blocks from the stream. |
void |
write(java.io.OutputStream os)
Write the ZX81 data to the given output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TZXZX81Block(ZX81SampleAnalyzer analyzer, int pause)
analyzer
- pause
- public TZXZX81Block(java.io.InputStream is) throws java.io.IOException
is
-
java.io.IOException
Method Detail |
public static java.util.List readTZXZX81Blocks(java.io.File file) throws java.io.IOException
file
-
java.io.IOException
public static java.util.List readTZXZX81Blocks(java.io.InputStream is) throws java.io.IOException
is
-
java.io.IOException
public byte[] getBytes()
public byte[] getProgramNameBytes()
public int getPause()
public byte[] getZeroSymbolTable()
public byte[] getOneSymbolTable()
public void write(java.io.OutputStream os) throws java.io.IOException
os
- The output stream.
java.io.IOException
public boolean read(java.io.InputStream is) throws java.io.IOException
is
- The output stream.
java.io.IOException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |