|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.model.LargeText
public class LargeText
Represents a large text data.
This class defines methods for handling progressive text update.
Constructor Summary | |
---|---|
LargeText(ByteBuffer memory,
boolean completed)
Deprecated. |
|
LargeText(File file,
boolean completed)
Deprecated. |
Method Summary | |
---|---|
void |
doProgressText(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Deprecated. Implements the progressive text handling. |
boolean |
isComplete()
Deprecated. |
void |
markAsComplete()
Deprecated. |
Reader |
readAll()
Deprecated. Returns Reader for reading the raw bytes. |
long |
writeLogTo(long start,
Writer w)
Deprecated. Writes the tail portion of the file to the Writer . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LargeText(File file, boolean completed)
public LargeText(ByteBuffer memory, boolean completed)
Method Detail |
---|
public void markAsComplete()
public boolean isComplete()
public Reader readAll() throws IOException
Reader
for reading the raw bytes.
IOException
public long writeLogTo(long start, Writer w) throws IOException
Writer
.
The text file is assumed to be in the system default encoding.
start
- The byte offset in the input file where the write operation starts.
IOException
public void doProgressText(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |