summaryrefslogtreecommitdiffstats
path: root/parsers
diff options
context:
space:
mode:
Diffstat (limited to 'parsers')
-rw-r--r--parsers/BackButton.java23
-rw-r--r--parsers/CodeBlocks.java23
-rw-r--r--parsers/DocumentName.java23
-rw-r--r--parsers/Footer.java23
-rw-r--r--parsers/Header.java23
-rw-r--r--parsers/Headings.java21
-rw-r--r--parsers/Images.java23
-rw-r--r--parsers/LineBreak.java23
-rw-r--r--parsers/Links.java23
-rw-r--r--parsers/NullIt.java23
-rw-r--r--parsers/Paragraphs.java23
-rw-r--r--parsers/ParserList.java21
-rw-r--r--parsers/WordDecoration.java23
13 files changed, 284 insertions, 11 deletions
diff --git a/parsers/BackButton.java b/parsers/BackButton.java
index 8bf645f..6dd37d1 100644
--- a/parsers/BackButton.java
+++ b/parsers/BackButton.java
@@ -1,3 +1,24 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.parsers;
import java.io.*;
@@ -19,4 +40,4 @@ public class BackButton implements Parser {
PresentFile.backButton = button.toString();
return fileContent;
}
-} \ No newline at end of file
+}
diff --git a/parsers/CodeBlocks.java b/parsers/CodeBlocks.java
index b6b3276..b514e8d 100644
--- a/parsers/CodeBlocks.java
+++ b/parsers/CodeBlocks.java
@@ -1,3 +1,24 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.parsers;
import java.util.regex.*;
@@ -39,4 +60,4 @@ public class CodeBlocks implements Parser {
matcher.appendTail(sbuffer);
return sbuffer.toString();
}
-} \ No newline at end of file
+}
diff --git a/parsers/DocumentName.java b/parsers/DocumentName.java
index d0360c1..5aa2d39 100644
--- a/parsers/DocumentName.java
+++ b/parsers/DocumentName.java
@@ -1,3 +1,24 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.parsers;
import java.io.*;
@@ -15,4 +36,4 @@ public class DocumentName implements Parser {
fileContent = new NullIt().nullIt(fileContent,PresentFile.name);
return fileContent;
}
-} \ No newline at end of file
+}
diff --git a/parsers/Footer.java b/parsers/Footer.java
index 568d0e7..7f079bd 100644
--- a/parsers/Footer.java
+++ b/parsers/Footer.java
@@ -1,3 +1,24 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.parsers;
import java.util.regex.*;
@@ -14,4 +35,4 @@ public class Footer implements Parser {
return fileContent;
}
-} \ No newline at end of file
+}
diff --git a/parsers/Header.java b/parsers/Header.java
index 10fed98..1d84f11 100644
--- a/parsers/Header.java
+++ b/parsers/Header.java
@@ -1,3 +1,24 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.parsers;
import scruf.io.*;
@@ -43,4 +64,4 @@ public class Header implements Parser {
return sbuilder.toString();
}
-} \ No newline at end of file
+}
diff --git a/parsers/Headings.java b/parsers/Headings.java
index b23966c..51f3c5b 100644
--- a/parsers/Headings.java
+++ b/parsers/Headings.java
@@ -1,3 +1,24 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.parsers;
import java.util.regex.*;
diff --git a/parsers/Images.java b/parsers/Images.java
index 803537c..0cfa5cf 100644
--- a/parsers/Images.java
+++ b/parsers/Images.java
@@ -1,3 +1,24 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.parsers;
import java.util.regex.*;
@@ -30,4 +51,4 @@ public class Images implements Parser {
matcher.appendTail(sbuffer);
return sbuffer.toString();
}
-} \ No newline at end of file
+}
diff --git a/parsers/LineBreak.java b/parsers/LineBreak.java
index 09aee07..b2394d9 100644
--- a/parsers/LineBreak.java
+++ b/parsers/LineBreak.java
@@ -1,3 +1,24 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.parsers;
import java.util.regex.*;
@@ -13,4 +34,4 @@ public class LineBreak implements Parser {
matcher.appendTail(sbuffer);
return sbuffer.toString();
}
-} \ No newline at end of file
+}
diff --git a/parsers/Links.java b/parsers/Links.java
index 0253846..396677f 100644
--- a/parsers/Links.java
+++ b/parsers/Links.java
@@ -1,3 +1,24 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.parsers;
import java.util.regex.*;
@@ -30,4 +51,4 @@ public class Links implements Parser {
matcher.appendTail(sbuffer);
return sbuffer.toString();
}
-} \ No newline at end of file
+}
diff --git a/parsers/NullIt.java b/parsers/NullIt.java
index 29fdf00..ef710d7 100644
--- a/parsers/NullIt.java
+++ b/parsers/NullIt.java
@@ -1,3 +1,24 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.parsers;
import java.util.regex.*;
@@ -12,4 +33,4 @@ public class NullIt {
}
return content;
}
-} \ No newline at end of file
+}
diff --git a/parsers/Paragraphs.java b/parsers/Paragraphs.java
index 2a619b3..cc86b4b 100644
--- a/parsers/Paragraphs.java
+++ b/parsers/Paragraphs.java
@@ -1,3 +1,24 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.parsers;
import java.util.regex.*;
@@ -45,4 +66,4 @@ public class Paragraphs implements Parser {
matcher.appendTail(sbuffer);
return sbuffer.toString();
}
-} \ No newline at end of file
+}
diff --git a/parsers/ParserList.java b/parsers/ParserList.java
index aff198d..30b8ae6 100644
--- a/parsers/ParserList.java
+++ b/parsers/ParserList.java
@@ -1,3 +1,24 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.parsers;
import java.util.*;
diff --git a/parsers/WordDecoration.java b/parsers/WordDecoration.java
index cbf5b72..99c12ad 100644
--- a/parsers/WordDecoration.java
+++ b/parsers/WordDecoration.java
@@ -1,3 +1,24 @@
+/*+
+ * Copyright 2012 rsiddharth
+ * Email: <rsiddharth@ninthfloor.org>
+ *
+ * This file is part of Scruf.
+ *
+ * Scruf is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
package scruf.parsers;
import java.util.regex.*;
@@ -29,4 +50,4 @@ public class WordDecoration implements Parser {
matcher.appendTail(sbuffer);
return sbuffer.toString();
}
-} \ No newline at end of file
+}