com.ibm.wbi.util
Class ParseMimeMultipartBinary

java.lang.Object
  |
  +--com.ibm.wbi.util.ParseMimeMultipartBinary

public class ParseMimeMultipartBinary
extends java.lang.Object


Constructor Summary
ParseMimeMultipartBinary(java.lang.String new_boundary, byte[] new_body)
           
ParseMimeMultipartBinary(java.lang.String new_boundary, byte[] new_body, int offset, int size)
           
 
Method Summary
protected  boolean addObjectHeaders(MimeHeaders headers)
           
protected  boolean addObjectSingleHeader(MimeHeaders headers)
           
protected  boolean advancePastCRLF()
           
protected  boolean advanceToBoundary()
           
protected static java.lang.String afterSpace(java.util.StringTokenizer t)
           
 byte[] getNextPartBody()
           
 MimeHeaders getNextPartHeaders()
           
protected  boolean patternMatch(byte[] pattern, byte[] source, int offset)
           
protected static java.lang.String stripAnyQuotes(java.lang.String a)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseMimeMultipartBinary

public ParseMimeMultipartBinary(java.lang.String new_boundary,
                                byte[] new_body)

ParseMimeMultipartBinary

public ParseMimeMultipartBinary(java.lang.String new_boundary,
                                byte[] new_body,
                                int offset,
                                int size)
Method Detail

getNextPartHeaders

public MimeHeaders getNextPartHeaders()

getNextPartBody

public byte[] getNextPartBody()

patternMatch

protected boolean patternMatch(byte[] pattern,
                               byte[] source,
                               int offset)

advanceToBoundary

protected boolean advanceToBoundary()

advancePastCRLF

protected boolean advancePastCRLF()

addObjectHeaders

protected boolean addObjectHeaders(MimeHeaders headers)

afterSpace

protected static java.lang.String afterSpace(java.util.StringTokenizer t)

addObjectSingleHeader

protected boolean addObjectSingleHeader(MimeHeaders headers)

stripAnyQuotes

protected static java.lang.String stripAnyQuotes(java.lang.String a)