Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for lastModified (0.44 sec)

  1. src/main/java/jcifs/netbios/Lmhosts.java

                    long lm;
    
                    if ( ( lm = f.lastModified() ) > this.lastModified ) {
                        if ( log.isDebugEnabled() ) {
                            log.debug("Reading " + tc.getConfig().getLmHostsFileName());
                        }
                        this.lastModified = lm;
                        this.table.clear();
                        try ( FileReader r = new FileReader(f) ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  2. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

        }
    
        public String getUpdatePolicy() {
            return updatePolicy;
        }
    
        public String getChecksumPolicy() {
            return checksumPolicy;
        }
    
        public boolean checkOutOfDate(Date lastModified) {
            boolean checkForUpdates = false;
    
            if (UPDATE_POLICY_ALWAYS.equals(updatePolicy)) {
                checkForUpdates = true;
            } else if (UPDATE_POLICY_DAILY.equals(updatePolicy)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/misc/DynamicProperties.java

            final long timestamp = propertiesFile.lastModified();
            if (timestamp <= lastModified) {
                return false;
            }
    
            return true;
        }
    
        public synchronized void load() {
            final Properties prop = new Properties();
            try (final FileInputStream fis = new FileInputStream(propertiesFile)) {
                lastModified = propertiesFile.lastModified();
                prop.load(fis);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/netbios/Lmhosts.java

            try {
                if( FILENAME != null ) {
                    File f = new File( FILENAME );
                    long lm;
    
                    if(( lm = f.lastModified() ) > lastModified ) {
                        lastModified = lm;
                        TAB.clear();
                        alt = 0;
                        populate( new FileReader( f ));
                    }
                    result = (NbtAddress)TAB.get( name );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/FileEntry.java

    package jcifs.smb1.smb1;
    
    public interface FileEntry {
    
        String getName();
        int getType();
        int getAttributes();
        long createTime();
        long lastModified();
        long length();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 191 bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NetServerEnum2Response.java

            }
            public int getAttributes() {
                return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY;
            }
            public long createTime() {
                return 0L;
            }
            public long lastModified() {
                return 0L;
            }
            public long length() {
                return 0L;
            }
    
            public String toString() {
                return new String( "ServerInfo1[" +
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/net/SmbShareInfo.java

            return SmbConstants.ATTR_READONLY | SmbConstants.ATTR_DIRECTORY;
        }
    
    
        @Override
        public long createTime () {
            return 0L;
        }
    
    
        @Override
        public long lastModified () {
            return 0L;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.smb.FileEntry#lastAccess()
         */
        @Override
        public long lastAccess () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Feb 17 09:30:57 GMT 2019
    - 3.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/FileEntry.java

        int getAttributes ();
    
    
        /**
         * 
         * @return the creation time
         */
        long createTime ();
    
    
        /**
         * 
         * @return the last modified time
         */
        long lastModified ();
    
    
        /**
         * 
         * @return the last access time
         */
        long lastAccess ();
    
    
        /**
         * 
         * @return the file size
         */
        long length ();
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/log/AdminLogAction.java

                        map.put("id", Base64.getUrlEncoder().encodeToString(name.getBytes(StandardCharsets.UTF_8)));
                        map.put("name", name);
                        try {
                            map.put("lastModified", new Date(Files.getLastModifiedTime(filePath).toMillis()));
                        } catch (final IOException e) {
                            throw new IORuntimeException(e);
                        }
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbShareInfo.java

        }
        public int getAttributes() {
            return SmbFile.ATTR_READONLY | SmbFile.ATTR_DIRECTORY;
        }
        public long createTime() {
            return 0L;
        }
        public long lastModified() {
            return 0L;
        }
        public long length() {
            return 0L;
        }
    
        public boolean equals(Object obj) {
            if (obj instanceof SmbShareInfo) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.4K bytes
    - Viewed (0)
Back to top