Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GsaConfigParser (0.26 sec)

  1. src/main/java/org/codelibs/fess/util/GsaConfigParser.java

    import org.xml.sax.Attributes;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.DefaultHandler;
    
    public class GsaConfigParser extends DefaultHandler {
    
        private static final Logger logger = LogManager.getLogger(GsaConfigParser.class);
    
        public static final String REGEXP = "regexp:";
    
        public static final String REGEXP_CASE = "regexpCase:";
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/GsaConfigParserTest.java

        public void setUp() throws Exception {
            super.setUp();
            ComponentUtil.register(new SystemHelper(), "systemHelper");
        }
    
        public void test_parse() throws IOException {
            GsaConfigParser parser = new GsaConfigParser();
            try (InputStream is = ResourceUtil.getResourceAsStream("data/gsaconfig.xml")) {
                parser.parse(new InputSource(is));
            }
            parser.getWebConfig().ifPresent(c -> {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3K bytes
    - Viewed (0)
  3. src/main/resources/app.xml

    		<property name="encoding">"UTF-8"</property>
    	</component>
    	<component name="suggestHelper" class="org.codelibs.fess.helper.SuggestHelper">
    	</component>
    	<component name="gsaConfigParser" class="org.codelibs.fess.util.GsaConfigParser" instance="prototype">
    	</component>
    
    XML
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sun Nov 19 02:22:47 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/helper/SystemHelper.java

            }
    
            if (p.startsWith(GsaConfigParser.CONTAINS)) {
                return ".*" + Pattern.quote(p.substring(GsaConfigParser.CONTAINS.length())) + ".*";
            }
    
            if (p.startsWith(GsaConfigParser.REGEXP)) {
                return p.substring(GsaConfigParser.REGEXP.length());
            }
    
            if (p.startsWith(GsaConfigParser.REGEXP_CASE)) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Sat Apr 13 11:43:03 GMT 2024
    - 26.5K bytes
    - Viewed (2)
  5. src/main/java/org/codelibs/fess/app/web/admin/backup/AdminBackupAction.java

            } finally {
                deleteTempFile(tempFile);
            }
        }
    
        private void importGsaXml(final String fileName, final File tempFile) {
            final GsaConfigParser configParser = ComponentUtil.getComponent(GsaConfigParser.class);
            try (final InputStream in = new FileInputStream(tempFile)) {
                configParser.parse(new InputSource(in));
            } catch (final IOException e) {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 25.2K bytes
    - Viewed (0)
Back to top