FileDocCategorySizeDatePackage
RandomAccessFileOutputStream.javaAPI DocJaudiotagger 2.0.41073Wed Mar 30 16:11:50 BST 2011org.jaudiotagger.audio.asf.io

RandomAccessFileOutputStream

public final class RandomAccessFileOutputStream extends OutputStream
Wraps a {@link RandomAccessFile} into an {@link OutputStream}.
author
Christian Laireiter

Fields Summary
private final RandomAccessFile
targetFile
the file to write to.
Constructors Summary
public RandomAccessFileOutputStream(RandomAccessFile target)
Creates an instance.

param
target file to write to.

        super();
        this.targetFile = target;
    
Methods Summary
public voidwrite(byte[] bytes, int off, int len)
{@inheritDoc}

        this.targetFile.write(bytes, off, len);
    
public voidwrite(int toWrite)
{@inheritDoc}

        this.targetFile.write(toWrite);