public class PhoneElement
extends java.lang.Object
Constructor and Description |
---|
PhoneElement(java.lang.String ID,
java.lang.String format,
java.lang.String name)
Creates a new instance of PhoneElement.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getExt()
Returns the file extension suitable for this element.
|
java.lang.String |
getFilename()
Returns the filename with all blanks and unwanted characters
replaced with underscores.
|
java.lang.String |
getID()
Returns this element's ID number in the phone.
|
java.lang.String |
toString()
Returns a String representation of this PhoneElement.
|
public PhoneElement(java.lang.String ID, java.lang.String format, java.lang.String name)
ID
- ID number of the element in the phone.format
- Element type (format), like FGIF, JPEG, MIDI.name
- Element's name.public java.lang.String getID()
public java.lang.String getExt()
public java.lang.String getFilename()
public java.lang.String toString()
toString
in class java.lang.Object