Last change
on this file since 12188 was 12188, checked in by kjdon, 18 years ago |
Initial revision
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
549 bytes
|
Line | |
---|
1 | package org.greenstone.gsdl3.gs3build.doctypes;
|
---|
2 |
|
---|
3 | import java.io.*;
|
---|
4 | import java.net.*;
|
---|
5 | import java.util.ArrayList;
|
---|
6 |
|
---|
7 | import org.greenstone.gsdl3.gs3build.metadata.*;
|
---|
8 | import org.greenstone.gsdl3.gs3build.util.HTTPTools;
|
---|
9 |
|
---|
10 | public class TextRecogniser extends AbstractRecogniser
|
---|
11 | {
|
---|
12 |
|
---|
13 | public TextRecogniser()
|
---|
14 | {
|
---|
15 | this.preferred_mime_type = "text/plain";
|
---|
16 | this.filename_extensions = new ArrayList();
|
---|
17 | this.filename_extensions.add(".txt");
|
---|
18 | this.filename_extensions.add(".text");
|
---|
19 | this.document_type = TextDocument.TEXT_DOCUMENT_TYPE;
|
---|
20 | }
|
---|
21 |
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.