com.github.stephenc.javaisotools.sabre.impl
Class FileFixup

java.lang.Object
  extended by com.github.stephenc.javaisotools.sabre.impl.FileFixup
All Implemented Interfaces:
ContentHandler, Fixup

public class FileFixup
extends Object
implements Fixup


Constructor Summary
FileFixup(RandomAccessFile file, long position, long available)
           
 
Method Summary
 void addFixupListener(FixupListener listener)
           
 void close()
           
 void data(DataReference reference)
           
 Fixup fixup(DataReference reference)
           
 long getAvailable()
           
 RandomAccessFile getFile()
           
 long getPosition()
           
 boolean isClosed()
           
 long mark()
           
 void removeFixupListener(FixupListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileFixup

public FileFixup(RandomAccessFile file,
                 long position,
                 long available)
Method Detail

data

public void data(DataReference reference)
          throws HandlerException
Specified by:
data in interface ContentHandler
Throws:
HandlerException

fixup

public Fixup fixup(DataReference reference)
            throws HandlerException
Specified by:
fixup in interface ContentHandler
Throws:
HandlerException

mark

public long mark()
          throws HandlerException
Specified by:
mark in interface ContentHandler
Throws:
HandlerException

close

public void close()
           throws HandlerException
Specified by:
close in interface Fixup
Throws:
HandlerException

isClosed

public boolean isClosed()
Specified by:
isClosed in interface Fixup

addFixupListener

public void addFixupListener(FixupListener listener)
                      throws HandlerException
Throws:
HandlerException

removeFixupListener

public void removeFixupListener(FixupListener listener)
                         throws HandlerException
Throws:
HandlerException

getFile

public RandomAccessFile getFile()

getPosition

public long getPosition()

getAvailable

public long getAvailable()


Copyright © 2013. All Rights Reserved.