- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 5,725 for Mile (0.22 sec)
-
guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
File file = new File(rootDir, "file-that-doesnt-exist"); assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file); } public void testFileTraverser_file() throws Exception { File file = newFile("some-file"); assertThat(Files.fileTraverser().breadthFirst(file)).containsExactly(file); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Apr 21 20:17:27 GMT 2023 - 3.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
} public void testCreateParentDirs_noParentsNeeded() throws IOException { File file = file(getTempDir(), "nonexistent.file"); assertTrue(file.getParentFile().exists()); Files.createParentDirs(file); } public void testCreateParentDirs_oneParentNeeded() throws IOException { File file = file(getTempDir(), "parent", "nonexistent.file"); File parent = file.getParentFile();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
} public File createFile(File dir, String filename, String contents, String encoding) throws IOException { File file = new File(dir, filename); file.getParentFile().mkdirs(); FileUtils.fileWrite(file.getPath(), encoding, contents); markForDeletion(file); return file; } public String getFileContents(File file, String encoding) throws IOException {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
} } /** * この抽象パス名を<code>file:</code> URLに変換します。 * * @param file * ファイル。{@literal null}であってはいけません * @return ファイルURLを表すURLオブジェクト */ public static URL toURL(final File file) { assertArgumentNotNull("file", file); try { return file.toURI().toURL(); } catch (final IOException e) { throw new IORuntimeException(e);
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesFileTraverserTest.java
Path file = rootDir.resolve("file-that-doesnt-exist"); assertThat(MoreFiles.fileTraverser().breadthFirst(file)).containsExactly(file); } public void testFileTraverser_file() throws Exception { Path file = newFile("some-file"); assertThat(MoreFiles.fileTraverser().breadthFirst(file)).containsExactly(file); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 09 19:30:52 GMT 2018 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java
* the smb URL syntax. * * @param file An <code>SmbFile</code> specifying the file to read from */ public SmbFileInputStream( SmbFile file ) throws SmbException, MalformedURLException, UnknownHostException { this( file, SmbFile.O_RDONLY ); } SmbFileInputStream( SmbFile file, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException { this.file = file;
Java - Registered: Sun Apr 28 00:10:09 GMT 2024 - Last Modified: Fri Mar 22 21:10:40 GMT 2019 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
* user or, in the case of Android, the current app. If that is not possible (as is the case under * the very old Android Ice Cream Sandwich release), then this stream throws an exception instead of * creating a file that would be more accessible. (This behavior is new in Guava 32.0.0. Previous * versions would create a file that is more accessible, as discussed in <a
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 22 17:40:56 GMT 2024 - 8.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
import java.nio.file.FileSystems; import java.nio.file.FileVisitResult; import java.nio.file.Files; import java.nio.file.NoSuchFileException; import java.nio.file.Path; import java.nio.file.SimpleFileVisitor; import java.nio.file.attribute.BasicFileAttributes; import java.nio.file.attribute.FileTime; import java.util.EnumSet; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import java.util.concurrent.Future;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Jan 29 22:57:05 GMT 2024 - 27.2K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
private final File file; public ContentCache(final byte[] data) { this.data = data; this.file = null; } public ContentCache(final File file) { this.data = null; this.file = file; } @Override public void close() throws IOException { if (file != null) { Files.delete(file.toPath()); } }
Java - Registered: Thu May 02 15:34:13 GMT 2024 - Last Modified: Mon Nov 14 21:05:19 GMT 2022 - 1.6K bytes - Viewed (1) -
maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at *
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Mon Mar 25 10:50:01 GMT 2024 - 3.8K bytes - Viewed (0)