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.IOException
wayside.FailedToReadPlc
public PlcImporter(java.util.Scanner in) throws wayside.FailedToReadPlc
wayside.FailedToReadPlc
public int getTrackLen()
public int[] getSwitches()
public int[] getSwitchBlocks()
public int[] getDefaultSwitches()
public int[] getActiveSwitches()
public int[] getCrossings()
public int[][] getPaths()