com.mockobjects.io

Class MockFileInputStream

public class MockFileInputStream extends FileInputStream

Field Summary
static StringKNOWN_FILE
Method Summary
intavailable()
voidmark(int readlimit)
static MockFileInputStreamnewMockFileInputStream()
intread()
intread(byte[] b)
intread(byte[] b, int off, int len)
voidsetupContents(String contents)
longskip(long n)

Field Detail

KNOWN_FILE

public static final String KNOWN_FILE

Method Detail

available

public int available()

mark

public void mark(int readlimit)

newMockFileInputStream

public static MockFileInputStream newMockFileInputStream()

read

public int read()

read

public int read(byte[] b)

read

public int read(byte[] b, int off, int len)

setupContents

public void setupContents(String contents)

skip

public long skip(long n)
Copyright © 2002 Mock Objects. All Rights Reserved.