Last change
on this file since 29855 was 29855, checked in by davidb, 9 years ago |
John's code after refactoring by Tom over the summer of 2014/2015
|
File size:
1.3 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 |
|
---|
20 | public File getFile() {
|
---|
21 | return file;
|
---|
22 | }
|
---|
23 |
|
---|
24 | public String getFileType() {
|
---|
25 | return fileType;
|
---|
26 | }
|
---|
27 |
|
---|
28 | public String getCharsetEncoding() {
|
---|
29 | return charsetEncoding;
|
---|
30 | }
|
---|
31 |
|
---|
32 | public boolean getPreserveExistingMacrons() {
|
---|
33 | return preserveExistingMacrons;
|
---|
34 | }
|
---|
35 |
|
---|
36 | public void setCharsetEncoding(String charsetEncoding) {
|
---|
37 | this.charsetEncoding = charsetEncoding;
|
---|
38 | }
|
---|
39 |
|
---|
40 | public void setFile(File file) {
|
---|
41 | this.file = file;
|
---|
42 | }
|
---|
43 |
|
---|
44 | public void setFileType(String fileType) {
|
---|
45 | this.fileType = fileType;
|
---|
46 | }
|
---|
47 |
|
---|
48 | public void setPreserveExistingMacrons(boolean preserveExistingMacrons) {
|
---|
49 | this.preserveExistingMacrons = preserveExistingMacrons;
|
---|
50 | }
|
---|
51 |
|
---|
52 | @Override
|
---|
53 | public String toString() {
|
---|
54 | return "PluginConfiguration{" + "file=" + file + "fileType=" + fileType + "charsetEncoding=" + charsetEncoding + "preserveExistingMacrons=" + preserveExistingMacrons + '}';
|
---|
55 | }
|
---|
56 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.