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:
791 bytes
|
Line | |
---|
1 | package org.greenstone.gsdl3.gs3build.doctypes;
|
---|
2 |
|
---|
3 | import java.io.File;
|
---|
4 | import java.net.URL;
|
---|
5 | import java.util.List;
|
---|
6 | import java.util.Map;
|
---|
7 | import java.util.ArrayList;
|
---|
8 |
|
---|
9 | /**
|
---|
10 | * Another fairly basic class for representing JPEG documents.
|
---|
11 | */
|
---|
12 |
|
---|
13 | public class JPEGDocument extends AbstractDocument
|
---|
14 | {
|
---|
15 | public static final String JPEG_DOCUMENT_TYPE = "JPEG";
|
---|
16 |
|
---|
17 | public JPEGDocument(DocumentID id)
|
---|
18 | { super(id);
|
---|
19 | }
|
---|
20 |
|
---|
21 | public JPEGDocument(URL url)
|
---|
22 | { super(url);
|
---|
23 | }
|
---|
24 |
|
---|
25 | public String getDocumentType()
|
---|
26 | { return JPEG_DOCUMENT_TYPE;
|
---|
27 | }
|
---|
28 |
|
---|
29 | public String getDocumentText()
|
---|
30 | { // Just a dummy function for JPEGs
|
---|
31 | return "";
|
---|
32 | }
|
---|
33 |
|
---|
34 | public String getSectionText(String sectionId)
|
---|
35 | { // Just a dummy function for JPEGs
|
---|
36 | return "";
|
---|
37 | }
|
---|
38 |
|
---|
39 | public boolean isMETSCompatible()
|
---|
40 | { return true;
|
---|
41 | }
|
---|
42 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.