| 20 | 20 | import java.util.function.Supplier; |
| 21 | 21 | |
| 22 | import static com.keenwrite.Bootstrap.USER_CACHE_DIR; |
| 22 | 23 | import static com.keenwrite.Bootstrap.USER_DATA_DIR; |
| 23 | 24 | import static com.keenwrite.constants.Constants.*; |
| ... |
| 83 | 84 | private boolean mConcatenate; |
| 84 | 85 | |
| 85 | | private Supplier<Path> mThemesPath; |
| 86 | private Supplier<Path> mThemesPath = USER_DIRECTORY::toPath; |
| 86 | 87 | private Supplier<Locale> mLocale = () -> Locale.ENGLISH; |
| 87 | 88 | |
| 88 | 89 | private Supplier<Map<String, String>> mDefinitions = HashMap::new; |
| 89 | 90 | private Supplier<Map<String, String>> mMetadata = HashMap::new; |
| 90 | 91 | private Supplier<Caret> mCaret = () -> Caret.builder().build(); |
| 91 | 92 | |
| 92 | | private Supplier<Path> mFontsPath; |
| 93 | private Supplier<Path> mFontsPath = () -> getFontDirectory().toPath(); |
| 93 | 94 | |
| 94 | | private Supplier<Path> mImagesPath; |
| 95 | private Supplier<Path> mImagesPath = USER_DIRECTORY::toPath; |
| 95 | 96 | private Supplier<String> mImageServer = () -> DIAGRAM_SERVER_NAME; |
| 96 | 97 | private Supplier<String> mImageOrder = () -> PERSIST_IMAGES_DEFAULT; |
| 97 | 98 | |
| 98 | | private Supplier<Path> mCachesPath; |
| 99 | private Supplier<Path> mCachesPath = USER_CACHE_DIR::toPath; |
| 99 | 100 | |
| 100 | 101 | private Supplier<String> mSigilBegan = () -> DEF_DELIM_BEGAN_DEFAULT; |
| 101 | 102 | private Supplier<String> mSigilEnded = () -> DEF_DELIM_ENDED_DEFAULT; |
| 102 | 103 | |
| 103 | | private Supplier<Path> mRWorkingDir; |
| 104 | private Supplier<Path> mRWorkingDir = USER_DIRECTORY::toPath; |
| 104 | 105 | private Supplier<String> mRScript = () -> ""; |
| 105 | 106 | |