Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

samples.attachments
Class EchoAttachmentsService.MemoryOnlyDataSource  view EchoAttachmentsService.MemoryOnlyDataSource download EchoAttachmentsService.MemoryOnlyDataSource.java

java.lang.Object
  extended byorg.apache.axis.attachments.ManagedMemoryDataSource
      extended bysamples.attachments.EchoAttachmentsService.MemoryOnlyDataSource
All Implemented Interfaces:
javax.activation.DataSource
Enclosing class:
EchoAttachmentsService

static class EchoAttachmentsService.MemoryOnlyDataSource
extends org.apache.axis.attachments.ManagedMemoryDataSource

This class should store all attachment data in memory


Nested Class Summary
 
Nested classes inherited from class org.apache.axis.attachments.ManagedMemoryDataSource
 
Field Summary
 
Fields inherited from class org.apache.axis.attachments.ManagedMemoryDataSource
cachediskstream, closed, contentType, currentMemoryBuf, currentMemoryBufSz, debugEnabled, deleted, diskCacheFile, is_log, log, MAX_MEMORY_DISK_CACHED, maxCached, memorybuflist, MIN_MEMORY_DISK_CACHED, READ_CHUNK_SZ, readers, totalsz
 
Constructor Summary
(package private) EchoAttachmentsService.MemoryOnlyDataSource(byte[] in, java.lang.String contentType)
           
(package private) EchoAttachmentsService.MemoryOnlyDataSource(java.lang.String in, java.lang.String contentType)
           
 
Methods inherited from class org.apache.axis.attachments.ManagedMemoryDataSource
close, delete, finalize, flushToDisk, getContentType, getDiskCacheFile, getInputStream, getName, getOutputStream, main, write, write
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EchoAttachmentsService.MemoryOnlyDataSource

EchoAttachmentsService.MemoryOnlyDataSource(byte[] in,
                                            java.lang.String contentType)
                                      throws java.io.IOException

EchoAttachmentsService.MemoryOnlyDataSource

EchoAttachmentsService.MemoryOnlyDataSource(java.lang.String in,
                                            java.lang.String contentType)
                                      throws java.io.IOException