Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.barteo.emulator.app.util
Class DeviceEntry  view DeviceEntry download DeviceEntry.java

java.lang.Object
  extended bycom.barteo.emulator.app.util.DeviceEntry

public class DeviceEntry
extends java.lang.Object


Field Summary
private  boolean canRemove
           
private  java.lang.String className
           
private  boolean defaultDevice
           
private  java.lang.String fileName
           
private  java.lang.String name
           
 
Constructor Summary
DeviceEntry(java.lang.String name, java.lang.String fileName, java.lang.String className, boolean defaultDevice)
           
DeviceEntry(java.lang.String name, java.lang.String fileName, java.lang.String className, boolean defaultDevice, boolean canRemove)
           
 
Method Summary
 boolean canRemove()
           
 boolean equals(DeviceEntry test)
           
 java.lang.String getClassName()
           
 java.lang.String getFileName()
           
 java.lang.String getName()
           
 boolean isDefaultDevice()
           
 void setDefaultDevice(boolean b)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

private java.lang.String name

fileName

private java.lang.String fileName

className

private java.lang.String className

defaultDevice

private boolean defaultDevice

canRemove

private boolean canRemove
Constructor Detail

DeviceEntry

public DeviceEntry(java.lang.String name,
                   java.lang.String fileName,
                   java.lang.String className,
                   boolean defaultDevice)

DeviceEntry

public DeviceEntry(java.lang.String name,
                   java.lang.String fileName,
                   java.lang.String className,
                   boolean defaultDevice,
                   boolean canRemove)
Method Detail

canRemove

public boolean canRemove()

getClassName

public java.lang.String getClassName()

getFileName

public java.lang.String getFileName()

getName

public java.lang.String getName()

isDefaultDevice

public boolean isDefaultDevice()

setDefaultDevice

public void setDefaultDevice(boolean b)

equals

public boolean equals(DeviceEntry test)

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).