base
Class ConfigData

java.lang.Object
  extended by base.ConfigData

public class ConfigData
extends Object

This class handles reading of the configuration file and stores the values read from there. these values are accessed by the application not only in package system.


Field Summary
 String audio_device
           
 int av_offset
           
 String bgimage
           
 String cd_device
           
 String dvd_device
           
 String freq_table
           
 boolean is16_9
           
 String main_dir
           
 String pwd
           
 String tv_norm
           
 String uname
           
 String usb_mount
           
 boolean use_cds
           
 boolean use_movies
           
 boolean use_series
           
 boolean use_usb
           
 boolean use_vcr
           
 boolean use_videos
           
 String video_device
           
 String video_dir
           
 int x_offset
           
 int x_size
           
 int y_offset
           
 int y_size
           
 
Constructor Summary
ConfigData()
           
 
Method Summary
 boolean readConfig()
          Reads and parses the configuration file
 boolean writeConfig()
          Writes the configuration file
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x_offset

public int x_offset

y_offset

public int y_offset

x_size

public int x_size

y_size

public int y_size

av_offset

public int av_offset

is16_9

public boolean is16_9

use_movies

public boolean use_movies

use_series

public boolean use_series

use_videos

public boolean use_videos

use_cds

public boolean use_cds

use_vcr

public boolean use_vcr

use_usb

public boolean use_usb

cd_device

public String cd_device

dvd_device

public String dvd_device

video_device

public String video_device

audio_device

public String audio_device

usb_mount

public String usb_mount

video_dir

public String video_dir

main_dir

public String main_dir

bgimage

public String bgimage

tv_norm

public String tv_norm

freq_table

public String freq_table

uname

public String uname

pwd

public String pwd
Constructor Detail

ConfigData

public ConfigData()
Method Detail

readConfig

public boolean readConfig()
Reads and parses the configuration file

Returns:
true when the configuration could be read successfully, false otherwise

writeConfig

public boolean writeConfig()
Writes the configuration file

Returns:
true when the configuration could be written successfully, false otherwise