com.github.stephenc.javaisotools.iso9660
Class LayoutHelper

java.lang.Object
  extended by com.github.stephenc.javaisotools.iso9660.LayoutHelper
Direct Known Subclasses:
ElToritoLayoutHelper, ISO9660LayoutHelper, JolietLayoutHelper, RockRidgeLayoutHelper

public abstract class LayoutHelper
extends Object


Constructor Summary
LayoutHelper(StreamHandler streamHandler, ISO9660RootDirectory root, NamingConventions namingConventions)
           
 
Method Summary
 int getCurrentLocation()
           
 int getDifferenceTo(long position)
           
abstract  FilenameDataReference getFilenameDataReference(ISO9660Directory dir)
           
abstract  FilenameDataReference getFilenameDataReference(ISO9660File file)
           
 NamingConventions getNamingConventions()
           
 ISO9660RootDirectory getRoot()
           
abstract  byte[] pad(String string, int targetByteLength)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutHelper

public LayoutHelper(StreamHandler streamHandler,
                    ISO9660RootDirectory root,
                    NamingConventions namingConventions)
Method Detail

getRoot

public ISO9660RootDirectory getRoot()

getCurrentLocation

public int getCurrentLocation()
                       throws HandlerException
Throws:
HandlerException

getDifferenceTo

public int getDifferenceTo(long position)
                    throws HandlerException
Throws:
HandlerException

getNamingConventions

public NamingConventions getNamingConventions()

getFilenameDataReference

public abstract FilenameDataReference getFilenameDataReference(ISO9660Directory dir)
                                                        throws HandlerException
Throws:
HandlerException

getFilenameDataReference

public abstract FilenameDataReference getFilenameDataReference(ISO9660File file)
                                                        throws HandlerException
Throws:
HandlerException

pad

public abstract byte[] pad(String string,
                           int targetByteLength)
                    throws HandlerException
Throws:
HandlerException


Copyright © 2013. All Rights Reserved.