gs.hitchin.hitchfs
Class ByteArrayContent

java.lang.Object
  extended by gs.hitchin.hitchfs.ByteArrayContent

public class ByteArrayContent
extends Object


Constructor Summary
ByteArrayContent()
           
ByteArrayContent(byte[] data)
           
 
Method Summary
static gs.hitchin.hitchfs.IOFileSystem.Content byteArrayContent()
           
static gs.hitchin.hitchfs.IOFileSystem.Content byteArrayContent(byte[] data)
           
static gs.hitchin.hitchfs.IOFileSystem.Content byteArrayContent(CharSequence data)
           
 void clear()
           
 void close()
           
 InputStream getInputStream(gs.hitchin.hitchfs.IOFileSystem.Content content, FakeFile fake)
           
 OutputStream getOutputStream(gs.hitchin.hitchfs.IOFileSystem.Content content, FakeFile fake, boolean append)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteArrayContent

public ByteArrayContent()

ByteArrayContent

public ByteArrayContent(byte[] data)
Method Detail

byteArrayContent

public static gs.hitchin.hitchfs.IOFileSystem.Content byteArrayContent()

byteArrayContent

public static gs.hitchin.hitchfs.IOFileSystem.Content byteArrayContent(byte[] data)

byteArrayContent

public static gs.hitchin.hitchfs.IOFileSystem.Content byteArrayContent(CharSequence data)

clear

public void clear()

close

public void close()

getInputStream

public InputStream getInputStream(gs.hitchin.hitchfs.IOFileSystem.Content content,
                                  FakeFile fake)

getOutputStream

public OutputStream getOutputStream(gs.hitchin.hitchfs.IOFileSystem.Content content,
                                    FakeFile fake,
                                    boolean append)
                             throws IOException
Throws:
IOException


Copyright © 2012. All Rights Reserved.