- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 485 for Resources (0.06 sec)
-
guava/src/com/google/common/io/Resources.java
/** * Provides utility methods for working with resources in the classpath. Note that even though these * methods use {@link URL} parameters, they are usually not appropriate for HTTP or other * non-classpath resources. * * @author Chris Nokleberg * @author Ben Yu * @author Colin Decker * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class Resources { private Resources() {} /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.4K bytes - Viewed (0) -
cmd/api-resources.go
Harshavardhana <******@****.***> 1686162326 -0700
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jun 07 18:25:26 UTC 2023 - 4.3K bytes - Viewed (0) -
guava/pom.xml
</dependencies> <build> <resources> <resource> <directory>..</directory> <includes> <include>LICENSE</include> <!-- copied from the parent pom because I couldn't figure out a way to make combine.children="append" work --> <include>proguard/*</include> </includes> <targetPath>META-INF</targetPath> </resource> </resources> <plugins> <plugin>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jun 06 21:05:32 UTC 2025 - 9.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
URL resource = getClass().getResource("testdata/i18n.txt"); assertEquals(I18N, Resources.toString(resource, UTF_8)); assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N); } public void testToByteArray() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
} /** * Traverses resources contained in a Jar file. * <p> * Of the resources in the Jar file, only those with paths starting with the specified prefix are traversed. * The handler receives the entry name with the prefix removed. For example, if the prefix is <code>/aaa/bbb/</code> * and the Jar file contains a resource <code>/aaa/bbb/ccc/ddd/eee.txt</code>, the handler receives
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DisposableUtil.java
* * @param disposable * A disposable resource. Must not be {@literal null}. */ public static synchronized void remove(final Disposable disposable) { assertArgumentNotNull("disposable", disposable); disposables.remove(disposable); } /** * Disposes of all registered resources. */ public static synchronized void dispose() {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/Traverser.java
*/ void forEach(ClassHandler handler); /** * Searches for resources handled by this instance and calls the handler for each resource. * <p> * If a root directory is specified at instance construction, only resources under the root directory are targeted. * </p> * * @param handler the handler to process resources */ void forEach(ResourceHandler handler); /**
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/SmbResourceException.java
this.requestedResources = -1; } /** * Creates a resource exception with resource details * * @param message the error message * @param errorCode the SMB error code * @param resourceType the type of resource * @param available available resources * @param requested requested resources */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 5.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
} /** * Searches for all resources with the specified name from the context class loader. * * @param name * The resource name. Must not be {@literal null} or an empty string. * @return An iterator of URL objects for the resources. If no resources are found, the iterator will be empty. * Resources that the class loader does not have access to will not be included.
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
void testForceCleanup() { TestResource resource1 = new TestResource("cleanup1"); TestResource resource2 = new TestResource("cleanup2"); resourceManager.registerResource(resource1); resourceManager.registerResource(resource2); assertFalse(resource1.isClosed()); assertFalse(resource2.isClosed()); int cleaned = resourceManager.forceCleanup();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.9K bytes - Viewed (0)