public class PlcImporter
extends java.lang.Object
| Constructor and Description |
|---|
PlcImporter(java.io.File file) |
PlcImporter(java.util.Scanner in) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getActiveSwitches() |
int[] |
getCrossings() |
int[] |
getDefaultSwitches() |
int[][] |
getPaths() |
int[] |
getSwitchBlocks() |
int[] |
getSwitches() |
int |
getTrackLen() |
public PlcImporter(java.io.File file)
throws java.io.IOException,
wayside.FailedToReadPlc
java.io.IOExceptionwayside.FailedToReadPlcpublic PlcImporter(java.util.Scanner in)
throws wayside.FailedToReadPlc
wayside.FailedToReadPlcpublic int getTrackLen()
public int[] getSwitches()
public int[] getSwitchBlocks()
public int[] getDefaultSwitches()
public int[] getActiveSwitches()
public int[] getCrossings()
public int[][] getPaths()