- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for usage (0.01 sec)
-
src/main/java/org/codelibs/fess/suggest/exception/SuggestIndexException.java
* Exception thrown when there is an issue with the suggestion index. * This exception extends {@link SuggesterException}. * * <p>This exception can be thrown with a message, a cause, or both.</p> * * <pre> * Example usage: * throw new SuggestIndexException("Indexing error occurred"); * throw new SuggestIndexException(new IOException("IO error")); * throw new SuggestIndexException("Indexing error", new IOException("IO error")); * </pre> *Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/exception/SuggesterException.java
/** * This class represents a custom exception for the suggester component. * It extends the {@link RuntimeException} class and provides constructors * to create an exception instance with a message, a cause, or both. * * <p>Usage examples:</p> * <pre> * throw new SuggesterException("An error occurred"); * throw new SuggesterException(new IOException("IO error")); * throw new SuggesterException("An error occurred", new IOException("IO error"));Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/ICUNormalizer.java
* * <p>This class uses a specified Transliterator to perform text normalization. * The Transliterator is initialized with a given ID during the construction of * the ICUNormalizer instance.</p> * * <p>Example usage:</p> * <pre> * ICUNormalizer normalizer = new ICUNormalizer("Any-Latin; NFD; [:Nonspacing Mark:] Remove; NFC"); * String normalizedText = normalizer.normalize("text to normalize", "field"); * </pre> *
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/NormalizerChain.java
import java.util.List; /** * The NormalizerChain class implements the Normalizer interface and allows chaining multiple normalizers together. * It applies each normalizer in the order they were added to the chain. * * <p>Usage example:</p> * <pre> * NormalizerChain chain = new NormalizerChain(); * chain.add(new SomeNormalizer()); * chain.add(new AnotherNormalizer()); * String normalizedText = chain.normalize("input text", "field", "en");
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java
* {@link java.net.IDN} class. * * <p>This class allows setting a custom flag for the IDN conversion and a custom * encoding for URL decoding.</p> * * <p>Example usage:</p> * <pre> * {@code * IdnDnsResolver resolver = new IdnDnsResolver(); * resolver.setFlag(IDN.ALLOW_UNASSIGNED); * resolver.setEncoding("UTF-8"); * InetAddress[] addresses = resolver.resolve("example.com"); * }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlingAccessException.java
* </p> * * <p> * The log level can be set to DEBUG, INFO, WARN, or ERROR, and the class provides methods to check if a specific log level is enabled. * </p> * * <p> * Example usage: * </p> * * <pre> * try { * // Attempt to access a resource * } catch (CrawlingAccessException e) { * if (e.isErrorEnabled()) { * // Log the error * } * } * </pre> */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 3.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/normalizer/HankakuKanaToZenkakuKana.java
* <li>Handling of voiced (゙) and semi-voiced (゚) sound marks to produce the correct Zenkaku Kana characters.</li> * </ul> * * <p>Example usage:</p> * <pre> * {@code * HankakuKanaToZenkakuKana normalizer = new HankakuKanaToZenkakuKana(); * String normalized = normalizer.normalize("ガギグゲゴ", "field"); * System.out.println(normalized); // Outputs: ガギグゲゴ * }
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 6.8K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XPathAPI.java
* It uses the javax.xml.xpath.XPath and javax.xml.xpath.XPathFactory classes to create and evaluate XPath expressions. * * <p>Example usage:</p> * <pre> * {@code * XPathAPI xPathAPI = new XPathAPI(); * NodeList nodes = xPathAPI.selectNodeList(contextNode, "//example"); * Node singleNode = xPathAPI.selectSingleNode(contextNode, "//example[1]");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
* <li>{@link #getDataMap(AccessResultData)}: Parses XML content from {@link AccessResultData} and returns a map of the data.</li> * </ul> * * <h2>Usage Example:</h2> * <pre> * {@code * String escapedXml = XmlUtil.escapeXml("<tag>value</tag>"); * Map<String, Object> dataMap = XmlUtil.getDataMap(accessResultData); * } * </pre> * * <h2>Thread Safety:</h2>
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/MimeTypeHelperImpl.java
* </ul> * * <p> * The MIME type detection is based on the {@code tika-mimetypes.xml} resource, which is loaded during initialization. * </p> * * <p> * Usage: * </p> * <pre> * MimeTypeHelperImpl mimeTypeHelper = new MimeTypeHelperImpl(); * String contentType = mimeTypeHelper.getContentType(inputStream, filename); * </pre> */Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 6.5K bytes - Viewed (0)