- make constants final
- added constant for temp dir - redacted path to specific temp dir
This commit is contained in:
parent
4c76542f54
commit
4fc5648c4f
@ -11,11 +11,12 @@ import java.time.temporal.ChronoUnit;
|
|||||||
|
|
||||||
public class FabianUtil {
|
public class FabianUtil {
|
||||||
|
|
||||||
public static String ENDING_TXT = "txt";
|
private static final String STD_DIR_TEMP = "/FIXME/temp/";
|
||||||
public static String ENDING_JSON = "json";
|
public static final String ENDING_TXT = "txt";
|
||||||
public static String ENDING_HTML = "html";
|
public static final String ENDING_JSON = "json";
|
||||||
public static String ENDING_PDF = "pdf";
|
public static final String ENDING_HTML = "html";
|
||||||
public static String ENDING_TIFF = "tiff";
|
public static final String ENDING_PDF = "pdf";
|
||||||
|
public static final String ENDING_TIFF = "tiff";
|
||||||
|
|
||||||
|
|
||||||
private FabianUtil() {}
|
private FabianUtil() {}
|
||||||
@ -191,7 +192,7 @@ public class FabianUtil {
|
|||||||
|
|
||||||
|
|
||||||
public static void writeTestOutput(String filename, String ending, byte[] content) {
|
public static void writeTestOutput(String filename, String ending, byte[] content) {
|
||||||
writeToFile("C:/theo_dev/temp/testOutput/", filename, ending, content);
|
writeToFile(STD_DIR_TEMP + "testOutput/", filename, ending, content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -201,7 +202,7 @@ public class FabianUtil {
|
|||||||
|
|
||||||
|
|
||||||
public static void writeDump(String ending, byte[] content) {
|
public static void writeDump(String ending, byte[] content) {
|
||||||
writeToFile("C:/theo_dev/temp/", "dump", ending, content);
|
writeToFile(STD_DIR_TEMP, "dump", ending, content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -211,7 +212,7 @@ public class FabianUtil {
|
|||||||
|
|
||||||
|
|
||||||
public static void writeDump(String filename, String ending, byte[] content) {
|
public static void writeDump(String filename, String ending, byte[] content) {
|
||||||
writeToFile("C:/theo_dev/temp/", filename, ending, content);
|
writeToFile(STD_DIR_TEMP, filename, ending, content);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user