com.icegreen.greenmail.foedus.util
Interface Resource

All Known Implementing Classes:
StringBufferResource

public interface Resource


Method Summary
 void delete()
           
 String getAsString()
           
 InputStream getInputStream()
           
 Reader getReader()
           
 long getSize()
           
 Writer getWriter()
           
 

Method Detail

getInputStream

InputStream getInputStream()
                           throws IOException
Throws:
IOException

getWriter

Writer getWriter()
                 throws IOException
Throws:
IOException

getReader

Reader getReader()
                 throws IOException
Throws:
IOException

getSize

long getSize()
             throws IOException
Throws:
IOException

delete

void delete()
            throws IOException
Throws:
IOException

getAsString

String getAsString()
                   throws IOException
Throws:
IOException