Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 201 for getFile (0.06 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComQueryInformationResponse.java

        }
        public long getCreateTime() {
            return lastWriteTime + serverTimeZoneOffset;
        }
        public long getLastWriteTime() {
            return lastWriteTime + serverTimeZoneOffset;
        }
        public long getSize() {
            return fileSize;
        }
        int writeParameterWordsWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int writeBytesWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

         */
        @Test
        public void testToCalendar() throws Exception {
            final Date date = new Date();
            final Calendar cal = CalendarConversionUtil.toCalendar(date);
            assertEquals(date, cal.getTime());
        }
    
        /**
         *
         * @throws Exception
         */
        @Test
        public void testLocalize() throws Exception {
            final Calendar calendar = Calendar.getInstance(TimeZone.getTimeZone("JST"));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

            return new IntervalControlHelper() {
                @Override
                protected Calendar getCurrentCal() {
                    final Calendar cal = Calendar.getInstance();
                    cal.setTimeInMillis(date.getTime());
                    cal.set(Calendar.DAY_OF_WEEK, day);
                    return cal;
                }
            };
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/CIFSContextWrapper.java

                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getPipe(java.lang.String, int)
         */
        @Override
        public SmbPipeResource getPipe ( String url, int pipeType ) throws CIFSException {
            try {
                return new SmbNamedPipe(url, pipeType, this);
            }
            catch ( MalformedURLException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.4K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ExtraAttributeDoc.groovy

        }
    
        @Override
        String toString() {
            return "attribute[key: $key, value: $valueCell.textContent]"
        }
    
        String getKey() {
            return titleCell.textContent
        }
    
        List<Node> getTitle() {
            return titleCell.childNodes.collect { it }
        }
    
        List<Node> getValue() {
            return valueCell.childNodes.collect { it }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.3K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            cal.set(Calendar.DATE, 11);
    
            Date firstTestDate = cal.getTime();
    
            cal.set(Calendar.HOUR, 11);
            cal.set(Calendar.AM_PM, Calendar.PM);
    
            // just to make sure all the bases are covered...
            cal.set(Calendar.HOUR_OF_DAY, 23);
    
            Date secondTestDate = cal.getTime();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

        @Override
        public long getLastWriteTime () {
            return 0L;
        }
    
    
        @Override
        public long getLastAccessTime () {
            return 0L;
        }
    
    
        @Override
        public long getSize () {
            return this.endOfFile;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Decodable#decode(byte[], int, int)
         */
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

        }
    
    
        @Override
        public long getLastAccessTime () {
            // Fake access time
            return convertTime(this.lastWriteTime);
        }
    
    
        @Override
        public long getSize () {
            return this.fileSize;
        }
    
    
        @Override
        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            return 0;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            }
            final ResponseData responseData = fsClient.doHead("file:" + path);
            assertNotNull(responseData.getLastModified());
            assertTrue(responseData.getLastModified().getTime() < new Date().getTime());
            assertNull(responseData.getResponseBody());
        }
    
        public void test_doHead_dir() throws Exception {
            final File file = ResourceUtil.getResourceAsFile("test");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return new Float(new SimpleDateFormat(pattern).format(o));
                }
                return new Float(((java.util.Date) o).getTime());
            } else {
                return toFloat(o.toString());
            }
        }
    
        private static Float toFloat(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top