com.aelitis.azureus.core.util
Class MultiPartDecoder.FormField

java.lang.Object
  extended by com.aelitis.azureus.core.util.MultiPartDecoder.FormField
Enclosing class:
MultiPartDecoder

public static class MultiPartDecoder.FormField
extends java.lang.Object


Field Summary
protected  java.util.Map attributes
           
protected  java.lang.String name
           
protected  long total_len
           
 
Constructor Summary
protected MultiPartDecoder.FormField(java.lang.String _name, java.util.Map _attributes)
           
 
Method Summary
protected  void complete()
           
 void destroy()
           
 java.lang.String getAttribute(java.lang.String attr_name)
           
 java.io.InputStream getInputStream()
           
 java.lang.String getName()
           
 java.lang.String getString()
           
protected  void write(byte[] buffer, int start, int len)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected final java.lang.String name

attributes

protected final java.util.Map attributes

total_len

protected long total_len
Constructor Detail

MultiPartDecoder.FormField

protected MultiPartDecoder.FormField(java.lang.String _name,
                                     java.util.Map _attributes)
Method Detail

getName

public java.lang.String getName()

getAttribute

public java.lang.String getAttribute(java.lang.String attr_name)

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
Throws:
java.io.IOException

getString

public java.lang.String getString()
                           throws java.io.IOException
Throws:
java.io.IOException

destroy

public void destroy()

write

protected void write(byte[] buffer,
                     int start,
                     int len)
              throws java.io.IOException
Throws:
java.io.IOException

complete

protected void complete()
                 throws java.io.IOException
Throws:
java.io.IOException