Package org.daisy.paper
Class CustomPaperCollection
java.lang.Object
org.daisy.paper.CustomPaperCollection
Provides a custom paper collection that lets a user
add and remove papers. The collection is stored as
a file in the users home directory.
-
Method Summary
Modifier and TypeMethodDescriptionaddNewRollPaper
(String name, String desc, Length across) addNewSheetPaper
(String name, String desc, Length width, Length height) addNewTractorPaper
(String name, String desc, Length across, Length along) static CustomPaperCollection
list()
void
-
Method Details
-
getInstance
-
list
-
addNewSheetPaper
public SheetPaper addNewSheetPaper(String name, String desc, Length width, Length height) throws IOException - Throws:
IOException
-
addNewTractorPaper
public TractorPaper addNewTractorPaper(String name, String desc, Length across, Length along) throws IOException - Throws:
IOException
-
addNewRollPaper
- Throws:
IOException
-
remove
- Throws:
IOException
-