- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 232 for setPath (1.39 sec)
-
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
server.useHttps(sslContext.getSocketFactory(), false); server.setDispatcher(this); server.start(port); } @Override public MockResponse dispatch(RecordedRequest request) { String path = request.getPath(); try { if (!path.startsWith("/") || path.contains("..")) throw new FileNotFoundException(); File file = new File(root + path); return file.isDirectory() ? directoryToResponse(path, file)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java
assert myResource != null : "The resource is this class itself loaded by its own classloader and must exist"; String myClasspathEntry = myResource.getPath(); myClasspathEntry = myClasspathEntry.substring(0, myClasspathEntry.length() - (myResourcePath.length() + 2)); if (myClasspathEntry.startsWith("file:")) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileTest.java
} @Test void testGetPath() { // Arrange doReturn("/share/file.txt").when(smbFile).getPath(); // Act & Assert assertEquals("/share/file.txt", smbFile.getPath()); } } @Nested class WhenHandlingStreams { @Mock private SmbTreeHandleImpl mockTreeHandle;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java
File pom4 = new File(pom3.getParentFile(), "p4/pom.xml"); File pom5 = new File(pom4.getParentFile(), "p5/pom.xml"); System.out.println("Location of project-4's POM: " + pom4.getPath()); // load everything... MavenProject project0 = getProject(pom0); MavenProject project1 = getProject(pom1); MavenProject project2 = getProject(pom2);
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jun 04 10:35:11 UTC 2025 - 6.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
* @return The path of the Zip file specified by the URL. */ public static String toZipFilePath(final URL zipUrl) { assertArgumentNotNull("zipUrl", zipUrl); final String urlString = zipUrl.getPath(); final int pos = urlString.lastIndexOf('!'); final String zipFilePath = urlString.substring(0, pos); final File zipFile = new File(URLUtil.decode(zipFilePath, "UTF8"));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.7K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_INSTALLATION_CONF)); } else if (systemProperties.getProperty("maven.conf") != null) { mavenConf = fileSystem.getPath(systemProperties.getProperty("maven.conf")); } else if (systemProperties.getProperty(MAVEN_HOME) != null) { mavenConf = fileSystem.getPath(systemProperties.getProperty(MAVEN_HOME), "conf");
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Oct 27 13:24:03 UTC 2025 - 78.1K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/project/DefaultProjectBuilderTest.java
// Other required methods with minimal implementations @Override public ModelSource getSource() { return new ModelSource() { @Override public Path getPath() { return Paths.get("test-pom.xml"); } @Override public String getLocation() { return "test-pom.xml"; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 17:20:31 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/DfsImpl.java
final String refPath = dr.getPath() != null ? '\\' + dr.getPath() : ""; final String nextPath = refPath + (path != null ? path.substring(r.getPathConsumed()) : ""); if (log.isDebugEnabled()) { log.debug(String.format("Intermediate referral, server %s share %s refPath %s origPath %s nextPath %s", r.getServer(), r.getShare(), r.getPath(), path, nextPath)); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 29.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
* * @param data the data buffer to write * @param offset the offset in the data buffer * @param length the number of bytes to write */ public void setData(final byte[] data, final int offset, final int length) { this.data = data; this.dataOffset = offset; this.dataLength = length; } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Aug 29 10:12:17 UTC 2025 - 7.2K bytes - Viewed (0)