|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--utils.FileTest
Field Summary | |
static java.lang.String |
conf
|
static java.lang.String |
log
|
static java.lang.String |
rep
|
static java.lang.String |
scf
|
static java.lang.String |
stf
|
Constructor Summary | |
FileTest()
|
Method Summary | |
static java.lang.String |
getExtension(java.io.File f)
Method getExtension. |
static boolean |
isExistent(java.lang.String fileName)
Method isExistent. |
static boolean |
isHardwareConformScenario(java.lang.String fileName,
double minValue,
double percent)
Method isHardwareConformScenario. |
static boolean |
isReadable(java.lang.String fileName)
Method isReadable. |
static boolean |
isValidScenarioFile(java.lang.String fwName,
int columnNumber)
Method isValidScenarioFile. |
static void |
main(java.lang.String[] args)
Methode: Main pour tester la classe |
static java.io.FileWriter |
testExistent(java.lang.String fwName,
boolean graphic)
Method testExistent. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String scf
public static final java.lang.String stf
public static final java.lang.String conf
public static java.lang.String log
public static java.lang.String rep
Constructor Detail |
public FileTest()
Method Detail |
public static java.lang.String getExtension(java.io.File f)
f
-
public static boolean isReadable(java.lang.String fileName)
fileName
-
public static boolean isExistent(java.lang.String fileName)
fileName
-
public static java.io.FileWriter testExistent(java.lang.String fwName, boolean graphic) throws java.io.IOException
fwName
- graphic
- mode text/graphic
java.io.IOException
public static boolean isValidScenarioFile(java.lang.String fwName, int columnNumber) throws java.io.FileNotFoundException, java.io.IOException
fwName
- name of the scenario filecolumnNumber
- Theoritical columns number
java.io.FileNotFoundException
java.io.IOException
public static boolean isHardwareConformScenario(java.lang.String fileName, double minValue, double percent) throws java.io.FileNotFoundException
fileName
- name of the scenario to testminValue
- corresponds to the value below which we cannot generate packets with a good frequency
it's in ms with a precision of nano secondspercent
- with an acceptance percentage of
java.io.FileNotFoundException
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |