Scala files and paths
Build a receipt path, save a note, or read a shopping list.
Names and locations
- Path.getFileName and getParentPrint a receipt name and its folder
- Path.relativizeLink a course handout to a diagram
- Path.resolve and getFileNameBuild a receipt path without hard-coded separators
Read and write
- Files.readAllBytesRecover the brightest setting from a preset
- Files.readStringRead a saved shopping note
- Files.writeStringSave an item to a grocery note
Manage files and folders
- Files.copyKeep a separate copy of a receipt
- Files.createDirectoriesPrepare nested hand-in folders
- Files.deleteClear a disposable print preview
- Files.movePublish a signed attendance sheet
- Using.resource with Files.listCount only the invoices in a folder
- Using.resource with Files.walkFind a receipt below the month folder