com.francetelecom.admindm.api
Class FileUtil

java.lang.Object
  extended by com.francetelecom.admindm.api.FileUtil

public class FileUtil
extends java.lang.Object

The Class FileUtil.


Field Summary
static java.lang.String CONFIG
           
static java.lang.String CONFIG_FILE
          The FILEDEF.
static java.lang.String DATAMODEL
           
static java.lang.String LOG
           
static java.lang.String SAVE
           
static java.lang.String USINE
           
 
Constructor Summary
FileUtil()
           
 
Method Summary
static java.io.File getFileFromShortName(java.lang.String shortName)
          Gets the File by his short name.
static java.lang.String[] parseLine(java.lang.String chaine)
          Parse a string to extract the properties and there value (the string is ignored if it starts with a # symbol).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_FILE

public static java.lang.String CONFIG_FILE
The FILEDEF.


CONFIG

public static final java.lang.String CONFIG
See Also:
Constant Field Values

LOG

public static final java.lang.String LOG
See Also:
Constant Field Values

DATAMODEL

public static final java.lang.String DATAMODEL
See Also:
Constant Field Values

USINE

public static final java.lang.String USINE
See Also:
Constant Field Values

SAVE

public static final java.lang.String SAVE
See Also:
Constant Field Values
Constructor Detail

FileUtil

public FileUtil()
Method Detail

getFileFromShortName

public static java.io.File getFileFromShortName(java.lang.String shortName)
Gets the File by his short name.

Parameters:
shortName - the short filename
Returns:
the file if known

parseLine

public static java.lang.String[] parseLine(java.lang.String chaine)
Parse a string to extract the properties and there value (the string is ignored if it starts with a # symbol).

Parameters:
chaine - the chaine
Returns:
String array


Copyright © 2011 FranceTelecom. All Rights Reserved.