Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.axis.attachments
Class ImageDataSource

    java.lang.Object
      org.apache.axis.attachments.ImageDataSource

All Implemented Interfaces:
  javax.activation.DataSource

public class ImageDataSource
extends Object
implements javax.activation.DataSource

Field Summary
`static String` | `CONTENT_TYPE`

Constructor Summary
`ImageDataSource(String name, Image data)`
`ImageDataSource(String name, String contentType, Image data)`

Method Summary
`String` | `getContentType()`
`InputStream` | `getInputStream()`
`String` | `getName()`
`OutputStream` | `getOutputStream()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### CONTENT_TYPE

    public static final String CONTENT_TYPE

See Also:
  Constant Field Values

Constructor Detail

### ImageDataSource

    public ImageDataSource(String name,
                           Image data)

### ImageDataSource

    public ImageDataSource(String name,
                           String contentType,
                           Image data)

Method Detail

### getName

    public String getName()

  Specified by:
    `getName` in interface `javax.activation.DataSource`

### getContentType

    public String getContentType()

  Specified by:
    `getContentType` in interface `javax.activation.DataSource`

### getInputStream

    public InputStream getInputStream()
                               throws IOException

  Specified by:
    `getInputStream` in interface `javax.activation.DataSource`
  Throws:
    `IOException`

### getOutputStream

    public OutputStream getOutputStream()
                                 throws IOException

  Specified by:
    `getOutputStream` in interface `javax.activation.DataSource`
  Throws:
    `IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.