org.glassfish.grizzly.http.util
Interface Chunk
- All Known Implementing Classes:
- BufferChunk, CharChunk
public interface Chunk
General interface for CharChunk and BufferChunk.
- Since:
- 2.0
- Author:
- Alexey Stashok
- See Also:
CharChunk,
BufferChunk,
DataChunk
getStart
int getStart()
setStart
void setStart(int start)
getEnd
int getEnd()
setEnd
void setEnd(int end)
getLength
int getLength()
toString
String toString(int start,
int end)
indexOf
int indexOf(char c,
int start)
indexOf
int indexOf(String s,
int start)
delete
void delete(int start,
int end)
notifyDirectUpdate
void notifyDirectUpdate()
- Notify the Chunk that its content is going to be changed directly
Copyright © 2012 Oracle Corporation. All Rights Reserved.