www.RoboHobby.com - Java ME/SE robotics project

com.robohobby.me
Class DiscUtils

java.lang.Object
  extended by com.robohobby.me.DiscUtils

public class DiscUtils
extends java.lang.Object

Author:
Oleg Lyubchenko


Field Summary
(package private)  java.lang.String appName
           
(package private)  CallBacks callBacks
           
(package private)  java.lang.String filePath
           
(package private)  byte[] imageByte
           
 
Constructor Summary
DiscUtils()
           
 
Method Summary
 void deleteDiskCommand()
          Delets file with command from disk.
 void getRoots()
           
 boolean isDiskCommand()
          Checks - is there file with command on the disc
 java.lang.String readDiskCommand()
          Reads file with command.
 void writeToDisk(java.lang.String fileName, byte[] byteData)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

imageByte

byte[] imageByte

appName

java.lang.String appName

callBacks

CallBacks callBacks

filePath

java.lang.String filePath
Constructor Detail

DiscUtils

public DiscUtils()
Method Detail

writeToDisk

public void writeToDisk(java.lang.String fileName,
                        byte[] byteData)

getRoots

public void getRoots()

isDiskCommand

public boolean isDiskCommand()
Checks - is there file with command on the disc


readDiskCommand

public java.lang.String readDiskCommand()
Reads file with command. Returns the text of the command.


deleteDiskCommand

public void deleteDiskCommand()
Delets file with command from disk.


Copyright © 2004-2008 OLeg Lyubchenko, Anton Lyubchenko. All Rights Reserved.