@Immutable public final class FkDecks extends Object implements Decks
Decks.| Constructor and Description |
|---|
FkDecks()
Ctor.
|
FkDecks(File file)
Ctor.
|
public FkDecks()
throws IOException
IOException - If failspublic FkDecks(File file)
file - File to use for XMLpublic Deck get(String name)
DecksThe method should throw a runtime exception if a deck
with this name doesn't exist. You should call Decks.add(String)
to create a deck first.
public void add(String name) throws IOException
DecksThe method should throw a runtime exception if a deck with this name already exists.
add in interface Decksname - Unique nameIOException - If failspublic void delete(String name)
DecksThe method should throw a runtime exception if a deck with this name is absent.
Copyright © 2014–2015 Thindeck Inc.. All rights reserved.