lhmc.utils
Class OpticalDiscTypeFinder

java.lang.Object
  extended by lhmc.utils.OpticalDiscTypeFinder

public class OpticalDiscTypeFinder
extends java.lang.Object

OpticalDiscTypeFinder uses cdtool and dvd+rwtools to discover the disc type.

Version:
0.01 Jul 2007
Author:
Cristina Roura Claver

Constructor Summary
OpticalDiscTypeFinder()
          Constructs OpticalDiscTypeFinder
 
Method Summary
 int getDiscType()
          Gets the disc type
 int getTypeOf(java.lang.String type)
          Gets the type identification from a string.
 void setDiscType(int type)
          Sets the disc type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpticalDiscTypeFinder

public OpticalDiscTypeFinder()
Constructs OpticalDiscTypeFinder

Method Detail

setDiscType

public void setDiscType(int type)
Sets the disc type

Parameters:
type - the disc type.

getDiscType

public int getDiscType()
Gets the disc type

Returns:
the disc type.

getTypeOf

public int getTypeOf(java.lang.String type)
Gets the type identification from a string.

Parameters:
type - the disc string type.
Returns:
the disc type.