Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for setFile (2.08 sec)

  1. 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 response
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            final int sizeThreshold = getSizeThreshold();
            final File repository = createRepositoryFile();
            return DiskFileItemFactory.builder().setBufferSize(sizeThreshold).setFile(repository).get();
        }
    
        protected int getSizeThreshold() {
            return ComponentUtil.getFessConfig().getHttpFileuploadThresholdSizeAsInteger();
        }
    
        protected File createRepositoryFile() {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (1)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapVideo.java

         */
        public String getTitle() {
            return title;
        }
    
        /**
         * Sets the title of the video.
         * @param title the title to set
         */
        public void setTitle(final String title) {
            this.title = title;
        }
    
        /**
         * Gets the description of the video.
         * @return the description
         */
        public String getDescription() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/curl/io/ContentOutputStreamTest.java

        }
    
        @Test
        public void testMultipleGetFile() throws IOException {
            // Calling getFile() multiple times should return the same file
            ContentOutputStream cos = new ContentOutputStream(5, Curl.tmpDir);
            cos.write(new byte[] { 0, 1, 2, 3, 4, 5 });
            File file1 = cos.getFile();
            File file2 = cos.getFile();
            assertEquals(file1.getAbsolutePath(), file2.getAbsolutePath());
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Wed Nov 12 14:01:04 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestTest.java

            request.setIndex("test-index");
            request.setSize(20);
            request.setSeed("test-seed");
            request.setWindowSize(30);
            request.setQueryFreqThreshold(5);
    
            assertNotNull(request);
        }
    
        @Test
        public void test_addTag() throws Exception {
            indexQueryItems();
    
            PopularWordsResponse response = suggester.popularWords().setSize(10).addTag("tag1").execute().getResponse();
    
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java

                    .setSize(0)
                    .execute()
                    .actionGet()
                    .getHits()
                    .getTotalHits()
                    .value() > 0);
            assertTrue(fesenClient.prepareSearch("fess_crawler.filter")
                    .setQuery(QueryBuilders.termQuery("sessionId", sessionId2))
                    .setSize(0)
                    .execute()
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/io/ContentOutputStream.java

         */
        public ContentOutputStream(final int threshold, final File tmpDir) {
            super(threshold, PREFIX, SUFFIX, tmpDir);
        }
    
        @Override
        public File getFile() {
            done = true;
            return super.getFile();
        }
    
        /**
         * Closes the stream and deletes the temporary file if it was not retrieved.
         * If an error occurs during file deletion, it is logged but not thrown to avoid
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Thu Nov 20 13:34:13 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/suggest/request/popularwords/PopularWordsRequestBuilder.java

        }
    
        /**
         * Sets the size of results for the request.
         * @param size The size.
         * @return This builder instance.
         */
        public PopularWordsRequestBuilder setSize(final int size) {
            request.setSize(size);
            return this;
        }
    
        /**
         * Adds a tag to filter by.
         * @param tag The tag.
         * @return This builder instance.
         */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

            } catch (final Exception e) {
                throw new ExtractException("Failed to extract data.", e);
            } finally {
                if (dfos != null && !dfos.isInMemory()) {
                    final File file = dfos.getFile();
                    try {
                        Files.delete(file.toPath());
                    } catch (final IOException e) {
                        logger.warn("Failed to delete {}.", file.getAbsolutePath(), e);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top