Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for logfile (0.06 sec)

  1. android/guava/src/com/google/common/io/TempFileCreator.java

        @Override
        File createTempDir() {
          try {
            return java.nio.file.Files.createTempDirectory(
                    Paths.get(JAVA_IO_TMPDIR.value()), /* prefix= */ null, directoryPermissions.get())
                .toFile();
          } catch (IOException e) {
            throw new IllegalStateException("Failed to create directory", e);
          }
        }
    
        @Override
        File createTempFile(String prefix) throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class FileUtilTest {
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        /**
         * @throws Exception
         */
        @Test
        public void testFileToFile() throws Exception {
            final byte[] bytes = readBytes(inputFile);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

    /**
     * @author wyukawa
     *
     */
    public class PropertiesUtilTest {
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        /**
         *
         */
        @Rule
        public TemporaryFolder tempFolder = new TemporaryFolder();
    
        /**
         * @see org.junit.rules.ExpectedException
         */
        @Rule
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/CopyUtilTest.java

        StringWriter writer = new StringWriter();
    
        StringBuilder builder = new StringBuilder();
    
        URL url = ResourceUtil.getResource(getClass().getName().replace('.', '/') + ".txt");
    
        File inputFile = URLUtil.toFile(url);
    
        File outputFile = new File(inputFile.getParentFile(), ".out");
    
        /**
         * @throws Exception
         */
        @Test
        public void testIsToOs() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

      val directory: File
        get() = cache.directory.toFile()
    
      @get:JvmName("directoryPath")
      val directoryPath: Path
        get() = cache.directory
    
      @JvmName("-deprecated_directory")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "directory"),
        level = DeprecationLevel.ERROR,
      )
      fun directory(): File = cache.directory.toFile()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/RequestBodyTest.kt

        }
      }
    
      private inline fun <T> assertOnFileDescriptor(
        content: String? = null,
        fn: (FileDescriptor) -> T,
      ): T =
        assertOnPath(content) {
          FileInputStream(filePath.toFile()).use { fis ->
            fn(fis.fd)
          }
        }
    
      private inline fun <T> assertOnPath(
        content: String? = null,
        fn: (okio.Path) -> T,
      ): T {
        FileSystem.SYSTEM.write(filePath) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.6K bytes
    - Viewed (1)
  7. src/main/java/org/codelibs/fess/util/ResourceUtil.java

         */
        public static File[] getPluginJarFiles(final FilenameFilter filter) {
            final File libDir = getPluginPath().toFile();
            if (!libDir.exists()) {
                return new File[0];
            }
            return libDir.listFiles(filter);
        }
    
        /**
         * Resolves system properties in a given string.
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        private File tempDir;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    
            // Create temp directory for testing
            tempDir = Files.createTempDirectory("thumbnail_test").toFile();
            tempDir.deleteOnExit();
    
            // Create a test thumbnail manager with minimal initialization
            thumbnailManager = new TestThumbnailManager();
            thumbnailManager.baseDir = tempDir;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                if (varPath != null) {
                    baseDir = new File(varPath, THUMBNAILS_DIR_NAME);
                } else {
                    baseDir = ResourceUtil.getThumbnailPath().toFile();
                }
            }
            if (baseDir.mkdirs()) {
                logger.info("Created: {}", baseDir.getAbsolutePath());
            }
            if (!baseDir.isDirectory()) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/FileUtil.java

            assertArgumentNotEmpty("encoding", encoding);
    
            final URL url = ResourceUtil.getResource(path);
            if (url.getProtocol().equals("file")) {
                return readText(URLUtil.toFile(url), encoding);
            }
            final InputStream is = URLUtil.openStream(url);
            try {
                final Reader reader = ReaderUtil.create(new BufferedInputStream(is, DEFAULT_BUF_SIZE), encoding);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 8.8K bytes
    - Viewed (0)
Back to top