Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for setLastModified (0.07 sec)

  1. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            File expiredFile = new File(dir1, "expired.png");
            expiredFile.createNewFile();
            expiredFile.setLastModified(System.currentTimeMillis() - 10000L);
    
            File recentFile = new File(dir1, "recent.png");
            recentFile.createNewFile();
            recentFile.setLastModified(System.currentTimeMillis());
    
            // Override purge to avoid client operations
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                    checkMaxContentLength(responseData);
                    responseData.setHttpStatusCode(Constants.OK_STATUS_CODE);
                    responseData.setCharSet(getCharSet(file));
                    responseData.setLastModified(new Date(file.lastModified()));
                    responseData.addMetaData(SMB_CREATE_TIME, new Date(file.createTime()));
                    try {
                        if (logger.isDebugEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                    checkMaxContentLength(responseData);
                    responseData.setHttpStatusCode(Constants.OK_STATUS_CODE);
                    responseData.setCharSet(getCharSet(file));
                    responseData.setLastModified(new Date(file.lastModified()));
                    responseData.addMetaData(SMB_CREATE_TIME, new Date(file.createTime()));
                    try {
                        if (logger.isDebugEnabled()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java

                return 1000L;
            }
    
            @Override
            public Long getLastModified() {
                return System.currentTimeMillis();
            }
    
            @Override
            public void setLastModified(Long lastModified) {
                // Do nothing in test
            }
    
            @Override
            public AccessResultData<String> getAccessResultData() {
                return null;
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                    if (generator.isAvailable()) {
                        if (!generator.generate(entity.getThumbnailId(), outputFile)) {
                            new File(outputFile.getAbsolutePath() + NOIMAGE_FILE_SUFFIX).setLastModified(systemHelper.getCurrentTimeAsLong());
                        } else {
                            final long interval = fessConfig.getThumbnailGeneratorIntervalAsInteger().longValue();
                            if (interval > 0) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertTrue(originalTime > 0, "File should have a valid timestamp");
    
            // Test setting timestamp 1 hour ago
            long testTime = System.currentTimeMillis() - 3600000;
            file.setLastModified(testTime);
    
            long retrievedTime = file.lastModified();
            // Allow for reasonable precision differences
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbFile.java

            try {
                setPathInformation(0, time, 0L, 0L);
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        @Override
        public void setLastModified(final long time) throws SmbException {
            if (this.fileLocator.isRootOrShare()) {
                throw new SmbException("Invalid operation for workgroups, servers, or shares");
            }
    
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbFile.java

         *
         * @param time the last modified time as milliseconds since Jan 1, 1970
         * @throws SmbException if an error occurs while setting the last modified time
         */
        public void setLastModified(final long time) throws SmbException {
            if (getUncPath0().length() == 1) {
                throw new SmbException("Invalid operation for workgroups, servers, or shares");
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top