|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourcejammer.server.source.AddBytes
This BuildStep class adds an array of bytes to the build.
Field Summary | |
(package private) byte[] |
mbaBytesToAdd
|
Constructor Summary | |
AddBytes()
|
Method Summary | |
java.io.OutputStream |
build(SourceInputStream parent,
java.io.OutputStream buildSoFar)
Executes this build step on OutputStream buildSoFar. |
byte[] |
getBytesToAdd()
|
void |
setBytesToAdd(byte[] bytes)
|
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
byte[] mbaBytesToAdd
Constructor Detail |
public AddBytes()
Method Detail |
public int size()
size
in interface SourceBuildStepInf
public void setBytesToAdd(byte[] bytes)
public byte[] getBytesToAdd()
public java.io.OutputStream build(SourceInputStream parent, java.io.OutputStream buildSoFar) throws InvalidSourceException, java.io.IOException
SourceBuildStepInf
build
in interface SourceBuildStepInf
parent
- -- 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.
InvalidSourceException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |