- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ClassUtil (0.59 sec)
-
src/main/java/org/codelibs/core/lang/ClassUtil.java
import org.codelibs.core.exception.NoSuchMethodRuntimeException; /** * Utility class for {@link Class} operations. * * @author higa */ public abstract class ClassUtil { /** * Do not instantiate. */ protected ClassUtil() { } /** Map from wrapper types to primitive types */ protected static final Map<Class<?>, Class<?>> wrapperToPrimitiveMap = newHashMap();Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
} subPackages.stream().forEach(protocol -> { try { final Class<Object> handlerClazz = ClassUtil.forName(basePackage + "." + protocol + ".Handler"); final Field protocolTypeField = ClassUtil.getDeclaredField(handlerClazz, "PROTOCOL_TYPE"); if (protocolTypeField.get(null) instanceof final String protocolType) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Dec 12 13:58:40 UTC 2025 - 12.4K bytes - Viewed (1) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
import org.codelibs.core.exception.FieldNotFoundRuntimeException; import org.codelibs.core.exception.MethodNotFoundRuntimeException; import org.codelibs.core.exception.PropertyNotFoundRuntimeException; import org.codelibs.core.lang.ClassUtil; import org.codelibs.core.lang.FieldUtil; import org.codelibs.core.lang.StringUtil; /** * Implementation class of {@link BeanDesc}. * * @author higa */ public class BeanDescImpl implements BeanDesc {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 25.8K bytes - Viewed (1) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
import java.util.jar.JarFile; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; import org.codelibs.core.jar.JarFileUtil; import org.codelibs.core.lang.ClassLoaderUtil; import org.codelibs.core.lang.ClassUtil; import org.codelibs.core.lang.StringUtil; import org.codelibs.core.log.Logger; import org.codelibs.core.net.URLUtil; import org.codelibs.core.zip.ZipFileUtil; import org.codelibs.core.zip.ZipInputStreamUtil; /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
import java.util.function.Consumer; import org.codelibs.core.beans.BeanDesc; import org.codelibs.core.beans.PropertyDesc; import org.codelibs.core.beans.factory.BeanDescFactory; import org.codelibs.core.lang.ClassUtil; /** * Utility for copying properties between JavaBeans or between JavaBeans and {@link Map}. * <p> * By specifying the source and destination JavaBeans, properties can be copied. * </p> * * <pre>Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 23.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/container/StandardCrawlerContainer.java
import org.codelibs.core.beans.BeanDesc; import org.codelibs.core.beans.FieldDesc; import org.codelibs.core.beans.MethodDesc; import org.codelibs.core.beans.factory.BeanDescFactory; import org.codelibs.core.lang.ClassUtil; import org.codelibs.core.lang.FieldUtil; import org.codelibs.core.lang.MethodUtil; import jakarta.annotation.PostConstruct; import jakarta.annotation.PreDestroy; import jakarta.annotation.Resource; /**
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (0) -
README.md
``` ### Exception Handling ```java import org.codelibs.core.exception.*; // Runtime exception wrappers eliminate try-catch boilerplate try { // Code that might throw checked exceptions return ClassUtil.newInstance(className); // Wraps checked exceptions automatically } catch (ClassNotFoundRuntimeException e) { // Handle the wrapped exception logger.error("Class not found: " + className, e); } ```Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sun Aug 31 02:56:02 UTC 2025 - 12.7K bytes - Viewed (0)