|
SourceJammer 1.2.0.1 May 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--org.sourcejammer.server.source.ReadBytes
A BuildStep class that reads a specified number of bytes from a SourceInputStream.
| Constructor Summary | |
ReadBytes()
|
|
| Method Summary | |
java.io.OutputStream |
build(SourceInputStream parent,
java.io.OutputStream buildSoFar)
Executes this build step on OutputStream buildSoFar. |
int |
getNumBytesToRead()
|
void |
setNumBytesToRead(int i)
|
int |
size()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ReadBytes()
| Method Detail |
public int size()
size in interface SourceBuildStepInfpublic void setNumBytesToRead(int i)
public int getNumBytesToRead()
public java.io.OutputStream build(SourceInputStream parent,
java.io.OutputStream buildSoFar)
throws InvalidSourceException,
java.io.IOException
SourceBuildStepInfbuild in interface SourceBuildStepInforg.sourcejammer.server.source.SourceBuildStepInfparent - -- SourceInputStream object of parent, or old version of this
source file.buildSoFar - -- The new file being built. This object is modified
by either adding, skipping, or reading bytes
from parent.
|
SourceJammer 1.2.0.1 May 20, 2002 Copyright (c) 2001, 2002 Robert MacGrogan |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||