com.github.stephenc.javaisotools.rockridge.impl
Class RockRidgeConfig

java.lang.Object
  extended by com.github.stephenc.javaisotools.rockridge.impl.RockRidgeConfig

public class RockRidgeConfig
extends Object


Constructor Summary
RockRidgeConfig()
           
 
Method Summary
 void forcePortableFilenameCharacterSet(boolean flag)
          Force Portable Filename Character Set
 void hideMovedDirectoriesStore(boolean flag)
          Hide directory containing relocated directories
 void setMaxDirectoryLength(int length)
          Set maximum length of directory names
 void setMaxFilenameLength(int length)
          Set maximum length of file names
 void setMkisofsCompatibility(boolean flag)
          Set mkisofs Compatibility
mkisofs implements version 1.09 of the Rock Ridge Interchange Protocol, whereas the current version 1.12 was adopted as an IEEE standard.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RockRidgeConfig

public RockRidgeConfig()
Method Detail

setMkisofsCompatibility

public void setMkisofsCompatibility(boolean flag)
Set mkisofs Compatibility
mkisofs implements version 1.09 of the Rock Ridge Interchange Protocol, whereas the current version 1.12 was adopted as an IEEE standard. The differences are as follows:
1. The ER System Use Entry strings differ
2. The PX System Use Entry does not contain a serial number in v1.09
3. The RR System Use Entry does not exist in v1.12

Parameters:
flag - Whether to use mkisofs compatibility or not

setMaxDirectoryLength

public void setMaxDirectoryLength(int length)
                           throws ConfigException
Set maximum length of directory names

Parameters:
length - Maxiumum amount of characters
Throws:
ConfigException - Invalid length

setMaxFilenameLength

public void setMaxFilenameLength(int length)
                          throws ConfigException
Set maximum length of file names

Parameters:
length - Maximum amount of characters
Throws:
ConfigException - Invalid length

forcePortableFilenameCharacterSet

public void forcePortableFilenameCharacterSet(boolean flag)
Force Portable Filename Character Set

Parameters:
flag - Whether to replace all characters outside the Portable Filename Character Set

hideMovedDirectoriesStore

public void hideMovedDirectoriesStore(boolean flag)
Hide directory containing relocated directories

Parameters:
flag - Whether to prefix rr_moved with a dot


Copyright © 2013. All Rights Reserved.