summaryrefslogtreecommitdiffstats
path: root/conversion
diff options
context:
space:
mode:
Diffstat (limited to 'conversion')
-rw-r--r--conversion/ConvertDirectory.java1
-rw-r--r--conversion/FileSieve.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/conversion/ConvertDirectory.java b/conversion/ConvertDirectory.java
index 063bd87..838b746 100644
--- a/conversion/ConvertDirectory.java
+++ b/conversion/ConvertDirectory.java
@@ -24,6 +24,7 @@ public class ConvertDirectory {
if(file.isFile()) {
can = canConvert.check(file);
if(can) {
+ System.out.println("Converting..."+file.getName());
html.convert(file);
index.add(file);
}
diff --git a/conversion/FileSieve.java b/conversion/FileSieve.java
index 6a8a4bc..8d6c643 100644
--- a/conversion/FileSieve.java
+++ b/conversion/FileSieve.java
@@ -7,7 +7,7 @@ public class FileSieve implements FileFilter {
// this method return true, if this file doesn't represent
// a html file.
public boolean accept(File pathname) {
- Pattern pattern = Pattern.compile("(.+\\.(html|png|jpg|css|tar))|(.+?\\~)|(index)|(\\..+)");
+ Pattern pattern = Pattern.compile("(.+\\.(html|png|jpg|css|tar|ttf))|(.+?\\~)|(index)|(\\..+)");
Matcher matcher = pattern.matcher(pathname.getName());
boolean bool = matcher.find();
return !bool;