Beispiel #1
0
 public static Point[] GetPoints(string[] configFileContent)
 {
     var configReader = new PointReader(configFileContent);
     try
     {
         return configReader.Read();
     }
     catch (IOException e)
     {
         // TODO Auto-generated catch block
         //e.printStackTrace();
     }
     return null;
 }
Beispiel #2
0
 private static Point[] GetPoints(FileSystemInfo pointFile)
 {
     var reader = new PointReader(pointFile);
     try
     {
         return reader.Read();
     }
     catch (IOException e)
     {
         // TODO Auto-generated catch block
         //e.printStackTrace();
         Logger.Error("Error Processing Points File", e);
     }
     return null;
 }