|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ext.entagged.libraries.utils.Utils
This Class is a regrouping of all functions that could not fit in another place or function of general use $Id: Utils.java,v 1.1 2004/09/17 07:15:48 rwaals Exp $
Field Summary | |
static java.lang.String |
clientDomain
The client e-mail address domain (freedb) |
static java.lang.String |
clientLogin
The client e-mail address (freedb) |
static java.io.File |
FORMATS_DIRECTORY
Path to audio formats plugins |
static java.lang.String[] |
GENRES
Array containing the 126 genres defined for the ID3v1.1 plus winamp specials |
static java.lang.String |
RESOURCES_PATH
Path to the resources files |
static double |
screenHeight
Resolution of the screen |
static double |
screenWidth
Resolution of the screen |
static java.lang.String |
softwareName
The Software name that use the freedb server |
static java.lang.String |
softwareVersion
The Software version that use the freedb server |
static java.io.File |
THEMEFOLDER
Path to Skin LAF Themes |
static java.lang.String |
VARIES
String used, when the users select multiples files in the GUI, to indicate that a field contains information that aren't equal |
Constructor Summary | |
Utils()
|
Method Summary | |
static java.util.Vector |
getColumnsInModelOrder(javax.swing.JTable table)
|
static java.lang.String |
getExtension(java.io.File f)
|
static java.lang.String |
getFormattedLength(int length)
|
static java.lang.String |
getRawExtension(java.io.File f)
|
static int |
readInteger(byte b1,
byte b2)
|
static int |
readInteger(byte b1,
byte b2,
byte b3)
|
static int |
readInteger(byte b1,
byte b2,
byte b3,
byte b4)
|
static java.io.File[] |
toFileArray(java.util.Vector v)
converts a Vector containing Object of File type , to an Array of File |
static java.lang.String[] |
toStringArray(java.util.Vector v)
converts a Vector containing Object of String type , to an Array of String |
static java.lang.String |
translateLangageFilename(java.lang.String langageFilename)
Returns the name of the given langage file |
static java.lang.String |
translateLangageName(java.lang.String langageName)
Returns the Filename of the given langage name |
static int |
unsignedBytes(byte b)
|
static int[] |
unsignedBytes(byte[] b)
Converts the Java signed bytes into more useful short - unsigned bytes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String RESOURCES_PATH
public static final java.io.File FORMATS_DIRECTORY
public static final java.io.File THEMEFOLDER
public static final java.lang.String softwareName
public static final java.lang.String softwareVersion
public static final java.lang.String clientDomain
public static final java.lang.String clientLogin
public static final java.lang.String[] GENRES
public static final java.lang.String VARIES
public static double screenWidth
public static double screenHeight
Constructor Detail |
public Utils()
Method Detail |
public static java.lang.String getFormattedLength(int length)
public static java.io.File[] toFileArray(java.util.Vector v)
v
- a vector containing String objects only
public static java.lang.String[] toStringArray(java.util.Vector v)
v
- a vector containing String objects only
public static java.lang.String translateLangageFilename(java.lang.String langageFilename)
langageFilename
- Description of the Parameter
public static java.lang.String translateLangageName(java.lang.String langageName)
langageName
- the langage name
public static int[] unsignedBytes(byte[] b)
b
- a byte array to be converted
public static int unsignedBytes(byte b)
public static java.lang.String getExtension(java.io.File f)
public static java.lang.String getRawExtension(java.io.File f)
public static java.util.Vector getColumnsInModelOrder(javax.swing.JTable table)
public static int readInteger(byte b1, byte b2, byte b3, byte b4)
public static int readInteger(byte b1, byte b2, byte b3)
public static int readInteger(byte b1, byte b2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |