|
![]() |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsunlabs.brazil.handler.PushHandler.Split
public static class PushHandler.Split
Split multipart data into its constituent pieces. Use byte[] so we can handle (potentially) large amounts of binary data. This acts as an iterator, stepping through the parts, extracting the appropriate info for eacxh part.
Constructor Summary | |
---|---|
PushHandler.Split(byte[] bytes)
create a new multipart form thingy |
Method Summary | |
---|---|
String |
content()
Get the content as a string |
String |
header()
Return the header as a string |
int |
length()
Return the content length |
String |
name()
get the part name |
boolean |
nextPart()
Return true if there is a next part |
int |
start()
return the index into the start of the data for this part |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PushHandler.Split(byte[] bytes)
Method Detail |
---|
public boolean nextPart()
public String content()
public int length()
public int start()
public String header()
public String name()
|
Version Kenai-svn-r24, Generated 08/18/09 Copyright (c) 2001-2009, Sun Microsystems. |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |