Package oshi.demo
Class DiskStoreForPath
java.lang.Object
oshi.demo.DiskStoreForPath
Uses OSHI to attempt to identify which OSFileStore, HWDiskStore, and HWPartition a file resides on. Intended as a
demonstration, not intended to be used in production code.
In pariticular, this won't work in all cases, particularly with logical partitions.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DiskStoreForPath
public DiskStoreForPath()
-
-
Method Details
-
main
Main method- Parameters:
args
- Optional file path- Throws:
URISyntaxException
- on invalid path
-