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 Object


Field Summary
protected  Map attributes
           
protected  String name
           
protected  long total_len
           
 
Constructor Summary
protected MultiPartDecoder.FormField(String _name, Map _attributes)
           
 
Method Summary
protected  void complete()
           
 void destroy()
           
 String getAttribute(String attr_name)
           
 InputStream getInputStream()
           
 String getName()
           
 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 String name

attributes

protected Map attributes

total_len

protected long total_len
Constructor Detail

MultiPartDecoder.FormField

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

getName

public String getName()

getAttribute

public String getAttribute(String attr_name)

getInputStream

public InputStream getInputStream()
                           throws IOException
Throws:
IOException

getString

public String getString()
                 throws IOException
Throws:
IOException

destroy

public void destroy()

write

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

complete

protected void complete()
                 throws IOException
Throws:
IOException