Class NetFileLoader
java.lang.Object
fr.esrf.tangoatk.widget.util.interlock.NetFileLoader
A class to load net file.
-
Constructor Summary
ConstructorsConstructorDescriptionNetFileLoader(FileReader file, String fileName) Contruct a NetFileLoader.NetFileLoader(FileReader file, String fileName, int startLine) Contruct a NetFileLoader. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanParse a network file (net format)
-
Constructor Details
-
NetFileLoader
Contruct a NetFileLoader.- Parameters:
file- Handle the the file reader.fileName- Used to print warning message if any.- Throws:
IOException- In case of failure
-
NetFileLoader
Contruct a NetFileLoader.- Parameters:
file- Handle the the file reader.fileName- Used to print warning message if any.startLine- Start line number for error message.- Throws:
IOException- In case of failure
-
-
Method Details
-
parseNetFile
Parse a network file (net format)- Returns:
- NetObject vector
- Throws:
IOException- Contains error message
-
getLabelFont
- Returns:
- the label font read in the global param section if any, default font otherwise
-
getSmallFont
- Returns:
- the small font read in the global param section if any, default font otherwise
-
getUseAAFont
public boolean getUseAAFont()- Returns:
- the Anti-Aliased font usage flag read in the global param section if any, false otherwise
-
getDrawArrow
public boolean getDrawArrow()- Returns:
- the draw arrow flag read in the global param section if any, true otherwise
-