package com.kodcu.other;

import javafx.stage.FileChooser;

/**
 * Created by usta on 23.08.2015.
 */
public class ExtensionFilters {

    public final static FileChooser.ExtensionFilter HTML = new FileChooser.ExtensionFilter("HTML", "*.html");
    public final static FileChooser.ExtensionFilter PDF = new FileChooser.ExtensionFilter("PDF", "*.pdf");
    public final static FileChooser.ExtensionFilter DOCBOOK = new FileChooser.ExtensionFilter("DOCBOOK", "*.xml");
    public final static FileChooser.ExtensionFilter EPUB = new FileChooser.ExtensionFilter("EPUB", "*.epub");
    public final static FileChooser.ExtensionFilter MOBI = new FileChooser.ExtensionFilter("MOBI", "*.mobi");
    public final static FileChooser.ExtensionFilter ODT = new FileChooser.ExtensionFilter("ODT", "*.odt");
    public final static FileChooser.ExtensionFilter ASCIIDOC = new FileChooser.ExtensionFilter("AsciiDoc", "*.adoc", "*.asciidoc", "*.asc", "*.ad", "*.txt", "*.*");
    public final static FileChooser.ExtensionFilter MARKDOWN = new FileChooser.ExtensionFilter("Markdown", "*.md", "*.markdown", "*.txt", "*.*");

}

@@ -234,24 +234,242 @@
  %22*.html%22);%0A
+    public final static FileChooser.ExtensionFilter XML = new FileChooser.ExtensionFilter(%22XML%22, %22*.xml%22);%0A    public final static FileChooser.ExtensionFilter ALL = new FileChooser.ExtensionFilter(%22All files%22, %22*.*%22);%0A
     public f
@@ -1151,32 +1151,16 @@
 , %22*.ad%22
-, %22*.txt%22, %22*.*%22
 );%0A    p
@@ -1285,24 +1285,8 @@
 own%22
-, %22*.txt%22, %22*.*%22
 );%0A%0A

Update Extension filters