Logo Search packages:      
Sourcecode: pauker version File versions  Download package

pauker::program::Pauker Class Reference

List of all members.

Detailed Description

The base class of Pauker which contains the GUI-independend functionality needed for all Pauker versions.

Definition at line 46 of file Pauker.java.

Public Types

enum  LearningPhase {
enum  PutbackStrategy { ON_TOP, AT_BOTTOM, ANYWHERE }

Static Public Member Functions

static String filter (String string)
static LearningPhase getLearningPhase ()
static String lessonToCSV (Lesson lesson)
static String lessonToXML (Lesson lesson) throws ParserConfigurationException, TransformerException, UnsupportedEncodingException
static Lesson openLesson (String path, String encoding) throws ParserConfigurationException, IOException, SAXException
static void setLearningPhase (LearningPhase learningPhase)

Static Public Attributes

static final String LESSON_FORMAT_V16 = "1.6"
static final String LESSON_FORMAT_V17 = "1.7"
static final int MAJOR_JAVA_VERSION
static final int MINOR_JAVA_VERSION
static final int STM_TIME = 720
static final int USTM_TIME = 18

Static Package Functions

 [static initializer]

Static Private Member Functions

static Element addBatch (Document document, Element lesson)
static void addCard (Document document, Element batch, Card card)
static void addCardSide (Document document, Element cardSideElement, CardSide cardSide, boolean reverseSide)
static void batchToCSV (Batch batch, StringBuilder stringBuilder)
static void escapeCSVString (StringBuilder stringBuilder, String string)
static CardSide getCsvCardSide (List< String > csvRow, int index)
static boolean mustQuote (String string)
static void parseCardSidev1_67 (Node cardSideNode, CardSide cardSide, final String version)
static void parseLessonv0 (Node documentNode, Lesson newLesson)
static void parseLessonv1_67 (Node lessonNode, Lesson newLesson, final String version)
static Lesson readCSVFile (String fileName, String encoding) throws IOException
static void readFont (CardSide cardSide, Node node)
static Lesson readXMLFile (String path) throws ParserConfigurationException, SAXException, IOException

Static Private Attributes

static LearningPhase learningPhase = LearningPhase.NOTHING
static final String lineSeparator
static final Logger logger
static final SimpleDateFormat unifiedDateFormat

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index