/*
* Meviz - Various tools collection to work with multimedia.
- * Copyright (C) 2012, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
+ * Copyright (C) 2012 -- 2019, Svjatoslav Agejenko, svjatoslav@svjatoslav.eu
*
* This program is free software; you can redistribute it and/or
- * modify it under the terms of version 2 of the GNU General Public License
- * as published by the Free Software Foundation.
- */
+ * modify it under the terms of version 3 of the GNU Lesser General Public License
+ * or later as published by the Free Software Foundation.
+*/
package eu.svjatoslav.meviz.htmlindexer;
import java.io.File;
-class CommandlineHandler {
+public class CommandlineHandler {
final Parser parser = new Parser();
final NullParameter removeIndex = parser.add(
.addAliases("-w", "--working-directory").mustExist();
public String getGalleryTitle() {
- if (galleryNameParameter.isParameterSpecified())
+ if (galleryNameParameter.isSpecified())
return galleryNameParameter.getValue();
return Constants.DEFAULT_GALLERY_TITLE;
}
public File getWorkingDirectory() {
- if (workingDirectoryParameter.isParameterSpecified())
+ if (workingDirectoryParameter.isSpecified())
return workingDirectoryParameter.getValue();
else
return new File(System.getProperty("user.dir"));