Last change
on this file since 35719 was 35719, checked in by cstephen, 2 years ago |
Add support for JSON response to direct input queries. Cleanup other components.
|
File size:
1.5 KB
|
Line | |
---|
1 | /*
|
---|
2 | * To change this template, choose Tools | Templates
|
---|
3 | * and open the template in the editor.
|
---|
4 | */
|
---|
5 | package monogram.plugin;
|
---|
6 |
|
---|
7 | import java.io.File;
|
---|
8 |
|
---|
9 | /**
|
---|
10 | *
|
---|
11 | * @author OEM
|
---|
12 | */
|
---|
13 | public class PluginConfiguration {
|
---|
14 |
|
---|
15 | private File file;
|
---|
16 | private String fileType;
|
---|
17 | private String charsetEncoding;
|
---|
18 | private boolean preserveExistingMacrons;
|
---|
19 | private boolean markupChangedWorlds;
|
---|
20 |
|
---|
21 | public File getFile() {
|
---|
22 | return file;
|
---|
23 | }
|
---|
24 |
|
---|
25 | public String getFileType() {
|
---|
26 | return fileType;
|
---|
27 | }
|
---|
28 |
|
---|
29 | public String getCharsetEncoding() {
|
---|
30 | return charsetEncoding;
|
---|
31 | }
|
---|
32 |
|
---|
33 | public boolean getPreserveExistingMacrons() {
|
---|
34 | return preserveExistingMacrons;
|
---|
35 | }
|
---|
36 |
|
---|
37 | public boolean getMarkupChangedWords()
|
---|
38 | {
|
---|
39 | return markupChangedWorlds;
|
---|
40 | }
|
---|
41 |
|
---|
42 | public void setCharsetEncoding(String charsetEncoding) {
|
---|
43 | this.charsetEncoding = charsetEncoding;
|
---|
44 | }
|
---|
45 |
|
---|
46 | public void setFile(File file) {
|
---|
47 | this.file = file;
|
---|
48 | }
|
---|
49 |
|
---|
50 | public void setFileType(String fileType) {
|
---|
51 | this.fileType = fileType;
|
---|
52 | }
|
---|
53 |
|
---|
54 | public void setPreserveExistingMacrons(boolean preserveExistingMacrons) {
|
---|
55 | this.preserveExistingMacrons = preserveExistingMacrons;
|
---|
56 | }
|
---|
57 |
|
---|
58 | public void setMarkupChangedWords(boolean value)
|
---|
59 | {
|
---|
60 | markupChangedWorlds = value;
|
---|
61 | }
|
---|
62 |
|
---|
63 | @Override
|
---|
64 | public String toString() {
|
---|
65 | return "PluginConfiguration{" + "file=" + file + "fileType=" + fileType + "charsetEncoding=" + charsetEncoding + "preserveExistingMacrons=" + preserveExistingMacrons + '}';
|
---|
66 | }
|
---|
67 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.