Removed file prefixes from dynamic content extensions

This commit is contained in:
Hugo de Paix de Coeur
2016-03-01 18:31:13 +01:00
parent 21620917f7
commit 1e7c51a2cb
8 changed files with 24 additions and 24 deletions

View File

@@ -14,18 +14,18 @@ import static org.apache.commons.lang3.StringUtils.defaultString;
/** /**
* Dynamically search for markup files in {@code contentPath} to append in Definitions, with the format :<br/> * Dynamically search for markup files in {@code contentPath} to append in Definitions, with the format :<br/>
* - {@code dyndefs-doc-before-*.<markup.ext>} : import before Definitions document with levelOffset = 0<br/> * - {@code doc-before-*.<markup.ext>} : import before Definitions document with levelOffset = 0<br/>
* - {@code dyndefs-doc-after-*.<markup.ext>} : import after Definitions document with levelOffset = 0<br/> * - {@code doc-after-*.<markup.ext>} : import after Definitions document with levelOffset = 0<br/>
* - {@code dyndefs-doc-begin-*.<markup.ext>} : import just after Definitions document main title with levelOffset = 1<br/> * - {@code doc-begin-*.<markup.ext>} : import just after Definitions document main title with levelOffset = 1<br/>
* - {@code dyndefs-doc-end-*.<markup.ext>} : import at the end of Definitions document with levelOffset = 1<br/> * - {@code doc-end-*.<markup.ext>} : import at the end of Definitions document with levelOffset = 1<br/>
* - {@code dyndefs-def-begin-*.<markup.ext>} : import just after each definition title with levelOffset = 2<br/> * - {@code def-begin-*.<markup.ext>} : import just after each definition title with levelOffset = 2<br/>
* - {@code dyndefs-def-end-*.<markup.ext>} : import at the end of each definition with levelOffset = 2<br/> * - {@code def-end-*.<markup.ext>} : import at the end of each definition with levelOffset = 2<br/>
* <p/> * <p/>
* Markup files are appended in the natural order of their names, for each category. * Markup files are appended in the natural order of their names, for each category.
*/ */
public class DynamicDefinitionsContentExtension extends DefinitionsContentExtension { public class DynamicDefinitionsContentExtension extends DefinitionsContentExtension {
protected static final String EXTENSION_FILENAME_PREFIX = "dyndefs-"; protected static final String EXTENSION_FILENAME_PREFIX = "";
private static final Logger logger = LoggerFactory.getLogger(DynamicDefinitionsContentExtension.class); private static final Logger logger = LoggerFactory.getLogger(DynamicDefinitionsContentExtension.class);
protected Path contentPath; protected Path contentPath;

View File

@@ -14,18 +14,18 @@ import static org.apache.commons.lang3.StringUtils.defaultString;
/** /**
* Dynamically search for markup files in {@code contentPath} to append to Operations, with the format :<br/> * Dynamically search for markup files in {@code contentPath} to append to Operations, with the format :<br/>
* - {@code dynops-doc-before-*.<markup.ext>} : import before Paths document with levelOffset = 0<br/> * - {@code doc-before-*.<markup.ext>} : import before Paths document with levelOffset = 0<br/>
* - {@code dynops-doc-after-*.<markup.ext>} : import after Paths document with levelOffset = 0<br/> * - {@code doc-after-*.<markup.ext>} : import after Paths document with levelOffset = 0<br/>
* - {@code dynops-doc-begin-*.<markup.ext>} : import just after Paths document main title with levelOffset = 1<br/> * - {@code doc-begin-*.<markup.ext>} : import just after Paths document main title with levelOffset = 1<br/>
* - {@code dynops-doc-end-*.<markup.ext>} : import at the end of Paths document with levelOffset = 1<br/> * - {@code doc-end-*.<markup.ext>} : import at the end of Paths document with levelOffset = 1<br/>
* - {@code dynops-op-begin-*.<markup.ext>} : import just after each operation title with levelOffset = 2(GroupBy.AS_IS) | 3(GroupBy.TAGS)<br/> * - {@code op-begin-*.<markup.ext>} : import just after each operation title with levelOffset = 2(GroupBy.AS_IS) | 3(GroupBy.TAGS)<br/>
* - {@code dynops-op-end-*.<markup.ext>} : import at the end of each operation with levelOffset = 2(GroupBy.AS_IS) | 3(GroupBy.TAGS)<br/> * - {@code op-end-*.<markup.ext>} : import at the end of each operation with levelOffset = 2(GroupBy.AS_IS) | 3(GroupBy.TAGS)<br/>
* <p/> * <p/>
* Markup files are appended in the natural order of their names, for each category. * Markup files are appended in the natural order of their names, for each category.
*/ */
public class DynamicOperationsContentExtension extends OperationsContentExtension { public class DynamicOperationsContentExtension extends OperationsContentExtension {
protected static final String EXTENSION_FILENAME_PREFIX = "dynops-"; protected static final String EXTENSION_FILENAME_PREFIX = "";
private static final Logger logger = LoggerFactory.getLogger(DynamicOperationsContentExtension.class); private static final Logger logger = LoggerFactory.getLogger(DynamicOperationsContentExtension.class);
protected Path contentPath; protected Path contentPath;

View File

@@ -13,16 +13,16 @@ import static org.apache.commons.lang3.StringUtils.defaultString;
/** /**
* Dynamically search for markup files in {@code contentPath} to append to Overview, with the format :<br/> * Dynamically search for markup files in {@code contentPath} to append to Overview, with the format :<br/>
* - {@code dynoview-doc-before-*.<markup.ext>} : import before Overview document with levelOffset = 0<br/> * - {@code doc-before-*.<markup.ext>} : import before Overview document with levelOffset = 0<br/>
* - {@code dynoview-doc-after-*.<markup.ext>} : import after Overview document with levelOffset = 0<br/> * - {@code doc-after-*.<markup.ext>} : import after Overview document with levelOffset = 0<br/>
* - {@code dynoview-doc-begin-*.<markup.ext>} : import just after Overview document main title with levelOffset = 1<br/> * - {@code doc-begin-*.<markup.ext>} : import just after Overview document main title with levelOffset = 1<br/>
* - {@code dynoview-doc-end-*.<markup.ext>} : import at the end of Overview document with levelOffset = 1<br/> * - {@code doc-end-*.<markup.ext>} : import at the end of Overview document with levelOffset = 1<br/>
* <p/> * <p/>
* Markup files are appended in the natural order of their names, for each category. * Markup files are appended in the natural order of their names, for each category.
*/ */
public class DynamicOverviewContentExtension extends OverviewContentExtension { public class DynamicOverviewContentExtension extends OverviewContentExtension {
protected static final String EXTENSION_FILENAME_PREFIX = "dynoview-"; protected static final String EXTENSION_FILENAME_PREFIX = "";
private static final Logger logger = LoggerFactory.getLogger(DynamicOverviewContentExtension.class); private static final Logger logger = LoggerFactory.getLogger(DynamicOverviewContentExtension.class);
protected Path contentPath; protected Path contentPath;

View File

@@ -13,16 +13,16 @@ import static org.apache.commons.lang3.StringUtils.defaultString;
/** /**
* Dynamically search for markup files in {@code contentPath} to append to Overview, with the format :<br/> * Dynamically search for markup files in {@code contentPath} to append to Overview, with the format :<br/>
* - {@code dynsec-doc-before-*.<markup.ext>} : import before Overview document with levelOffset = 0<br/> * - {@code doc-before-*.<markup.ext>} : import before Overview document with levelOffset = 0<br/>
* - {@code dynsec-doc-after-*.<markup.ext>} : import after Overview document with levelOffset = 0<br/> * - {@code doc-after-*.<markup.ext>} : import after Overview document with levelOffset = 0<br/>
* - {@code dynsec-doc-begin-*.<markup.ext>} : import just after Overview document main title with levelOffset = 1<br/> * - {@code doc-begin-*.<markup.ext>} : import just after Overview document main title with levelOffset = 1<br/>
* - {@code dynsec-doc-end-*.<markup.ext>} : import at the end of Overview document with levelOffset = 1<br/> * - {@code doc-end-*.<markup.ext>} : import at the end of Overview document with levelOffset = 1<br/>
* <p/> * <p/>
* Markup files are appended in the natural order of their names, for each category. * Markup files are appended in the natural order of their names, for each category.
*/ */
public class DynamicSecurityContentExtension extends SecurityContentExtension { public class DynamicSecurityContentExtension extends SecurityContentExtension {
protected static final String EXTENSION_FILENAME_PREFIX = "dynsec-"; protected static final String EXTENSION_FILENAME_PREFIX = "";
private static final Logger logger = LoggerFactory.getLogger(DynamicSecurityContentExtension.class); private static final Logger logger = LoggerFactory.getLogger(DynamicSecurityContentExtension.class);
protected Path contentPath; protected Path contentPath;