public final class StationInformationFile
extends java.lang.Object
修飾子とタイプ | メソッドと説明 |
---|---|
static void |
createStationInformationFile(java.nio.file.Path workPath,
java.nio.file.OpenOption... options)
ワーキングディレクトリ下のイベントフォルダ群からステーション情報を抽出して書き込む。
|
static void |
main(java.lang.String[] args)
ワーキングディレクトリ下のイベントフォルダ群からステーション情報を抽出して書き込む。
|
static java.util.Set<Station> |
read(java.nio.file.Path infoPath) |
static void |
write(java.util.Set<Station> stationSet,
java.nio.file.Path outPath,
java.nio.file.OpenOption... options) |
public static void write(java.util.Set<Station> stationSet, java.nio.file.Path outPath, java.nio.file.OpenOption... options) throws java.io.IOException
stationSet
- Set of station informationoutPath
- of write fileoptions
- for writejava.io.IOException
- if an I/O error occurspublic static java.util.Set<Station> read(java.nio.file.Path infoPath) throws java.io.IOException
infoPath
- of station information filejava.io.IOException
- if an I/O error occurspublic static void createStationInformationFile(java.nio.file.Path workPath, java.nio.file.OpenOption... options) throws java.io.IOException
workPath
- under which this looks for event folders and stations under
the foldersoptions
- for writejava.io.IOException
- if an I/O error occurspublic static void main(java.lang.String[] args) throws java.io.IOException
args
- [folder: to look into for stations (containing event folders)]java.io.IOException
- if an I/O error occurs