Package org.emrick.project
Class SetupFileSystem
java.lang.Object
org.emrick.project.SetupFileSystem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic voidprocessShowData(File dataDir, File pktDir, File csv, String token, String color, String ledCount, String label) static StringtoStorageFormat(String str) private static voidwriteBatteryCalibration(File dataDir) private static voidwriteBoardId(File dataDir, int id) private static voidwriteColor(File dataDir, String color) private static voidwriteLedCount(File dataDir, String ledCount) private static voidwriteOffsets(File dataDir, ArrayList<Integer> offsets) private static voidwritePosition(File dataDir, String position) private static voidwriteToFile(File file, String data) private static voidwriteToken(File dataDir, String token) private static voidwriteTriggers(File dataDir, ArrayList<Integer> triggers)
-
Constructor Details
-
SetupFileSystem
public SetupFileSystem()
-
-
Method Details
-
processShowData
-
writeToFile
- Throws:
IOException
-
writeOffsets
- Throws:
IOException
-
writeTriggers
- Throws:
IOException
-
writeToken
- Throws:
IOException
-
writeColor
- Throws:
IOException
-
writeBoardId
- Throws:
IOException
-
writePosition
- Throws:
IOException
-
writeLedCount
- Throws:
IOException
-
writeBatteryCalibration
- Throws:
IOException
-
getFlags
-
toStorageFormat
-