|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.admin.payload.PayloadImpl.Part
public abstract static class PayloadImpl.Part
Partial implementation of Part.
| Method Summary | |
|---|---|
void |
copy(java.io.OutputStream os)
|
java.lang.String |
getContentType()
|
java.lang.String |
getName()
|
java.util.Properties |
getProperties()
|
boolean |
isRecursive()
|
static PayloadImpl.Part |
newInstance(java.lang.String contentType,
java.lang.String name,
java.util.Properties props,
java.io.File file)
Creates a new Part from a File. |
static PayloadImpl.Part |
newInstance(java.lang.String contentType,
java.lang.String name,
java.util.Properties props,
java.io.InputStream is)
Creates a new Part from an InputStream. |
static PayloadImpl.Part |
newInstance(java.lang.String contentType,
java.lang.String name,
java.util.Properties props,
java.lang.String content)
Creates a new Part from a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.glassfish.api.admin.Payload.Part |
|---|
getInputStream |
| Method Detail |
|---|
public java.lang.String getName()
getName in interface Payload.Partpublic java.lang.String getContentType()
getContentType in interface Payload.Partpublic java.util.Properties getProperties()
getProperties in interface Payload.Partpublic boolean isRecursive()
isRecursive in interface Payload.Part
public static PayloadImpl.Part newInstance(java.lang.String contentType,
java.lang.String name,
java.util.Properties props,
java.io.InputStream is)
contentType - content type for the Partname - name of the Partprops - Properties to be associated with the Partis - InputStream to be used to populate the Part's data
public static PayloadImpl.Part newInstance(java.lang.String contentType,
java.lang.String name,
java.util.Properties props,
java.lang.String content)
contentType - content type for the Partname - name of the Partprops - Properties to be associated with the Partcontent - String containing the content for the Part
public static PayloadImpl.Part newInstance(java.lang.String contentType,
java.lang.String name,
java.util.Properties props,
java.io.File file)
throws java.io.FileNotFoundException
contentType - content type for the Partname - name of the Partprops - Properties to be associated with the Partfile - File containing the content for the Part
java.io.FileNotFoundException
public void copy(java.io.OutputStream os)
throws java.io.IOException
copy in interface Payload.Partjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||