- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 105 for getfile (0.06 sec)
-
src/test/java/jcifs/tests/persistent/HandleInfoTest.java
HandleInfo info = new HandleInfo("/test/file.txt", testGuid, testFileId, HandleType.DURABLE_V2, 120000, null); assertNull(info.getFile()); Object mockFile = new Object(); info.setFile(mockFile); assertEquals(mockFile, info.getFile()); } @Test public void testToString() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
assertArgumentNotNull("url", url); final String s = url.getFile(); return URLUtil.decode(s, "UTF8"); } /** * Returns the file of the resource. * * @param url * The resource URL. Must not be {@literal null}. * @return The file. */ public static File getFile(final URL url) { assertArgumentNotNull("url", url);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 14.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
} /** * Get the associated file object * @return the file object (can be null) */ public Object getFile() { return file; } /** * Set the associated file object * @param file the file object */ public void setFile(Object file) { this.file = file; } /** * Update the file ID after successful create responseRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
cmd/ftp-server-driver.go
_, err = clnt.PutObject(context.Background(), bucket, dirPath, bytes.NewReader([]byte("")), 0, minio.PutObjectOptions{ DisableContentSha256: true, }) return err } // GetFile implements ftpDriver func (driver *ftpDriver) GetFile(ctx *ftp.Context, objPath string, offset int64) (n int64, rc io.ReadCloser, err error) { stopFn := globalFtpMetrics.log(ctx, objPath) defer stopFn(n, err)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 14.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractor.java
if (dfos.isInMemory()) { return new ByteArrayInputStream(dfos.getData()); } return new BufferedInputStream(new FileInputStream(dfos.getFile())); } /** * Returns a content from a writer. * * @param out A content writer. * @param encoding An encoding. * @param normalizeText If true, normalize a text.
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 30.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z.jar").toURI()); assertEquals( "/home/build/x y.jar", ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x y.jar").getFile()); } public void testGetClassPathFromManifest_nullManifest() { assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty(); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 23K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java
contentType = defaultMimeType; } } } else { final File outputFile = dfos.getFile(); responseData.setResponseBody(outputFile, true); contentLength = outputFile.length(); if (contentType == null) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 52.2K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeInputStream.java
/** * @param handle * @param th * @throws SmbException */ SmbPipeInputStream(final SmbPipeHandleImpl handle, final SmbTreeHandleImpl th) throws CIFSException { super(handle.getPipe(), th, null); this.handle = handle; } /** * Ensures that the tree connection is established. * * @return the tree handle implementationRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
void close_sharedFile_closesHandle_only() throws Exception { SmbRandomAccessFile raf = newInstance("rw", false, true, false); SmbFile file = (SmbFile) getField(raf, "file"); SmbFileHandleImpl handle = (SmbFileHandleImpl) getField(raf, "handle"); // Act raf.close(); // Assert interactions verify(handle, atLeastOnce()).close();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleImpl.java
return (T) this; } throw new ClassCastException(); } /** * {@inheritDoc} * * @see jcifs.SmbPipeHandle#getPipe() */ @Override public SmbNamedPipe getPipe() { return this.pipe; } @Override public SmbTreeHandleImpl ensureTreeConnected() throws CIFSException { if (this.treeHandle == null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 10.2K bytes - Viewed (0)