- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for dir (0.2 sec)
-
maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
try { Thread.sleep(20); } catch (InterruptedException e) { // ignore } File dir = new File(TEMP_DIR_PATH, baseFilename + System.currentTimeMillis()); dir.mkdirs(); markForDeletion(dir); return dir; } public synchronized File createTempFile() throws IOException { File tempFile = File.createTempFile(baseFilename, fileSuffix);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
File dir1 = newDir("dir-1"); newFile("dir-1/file-b"); newFile("dir-1/dir-2"); assertThat(Iterables.limit(Files.fileTraverser().breadthFirst(rootDir), 3)) .containsExactly(rootDir, fileA, dir1); } public void testFileTraverser_multipleDirectoryLayers_traversalReturnsAll() throws Exception { File fileA = newFile("file-a"); File dir1 = newDir("dir-1");
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) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java
@Named public class DefaultRootLocator implements RootLocator { public boolean isRootDirectory(Path dir) { if (Files.isDirectory(dir.resolve(".mvn"))) { return true; } // we're too early to use the modelProcessor ... Path pom = dir.resolve("pom.xml"); try (InputStream is = Files.newInputStream(pom)) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
* <code>java.io.tmpdir</code> システムプロパティ。例:/tmp */ public static final String JAVA_IO_TMPDIR = System.getProperty("java.io.tmpdir"); /** * <code>user.dir</code> システムプロパティ。 */ public static final String USER_DIR = System.getProperty("user.dir"); /** * <code>user.home</code> システムプロパティ。 */ public static final String USER_HOME = System.getProperty("user.home");
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/PatternFilenameFilter.java
this.pattern = Preconditions.checkNotNull(pattern); } /* * Our implementation works fine with a null `dir`. However, there's nothing in the documentation * of the supertype that suggests that implementations are expected to tolerate null. That said, I * see calls in Google code that pass a null `dir` to a FilenameFilter.... So let's declare the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed May 17 14:35:11 GMT 2023 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/PatternFilenameFilterTest.java
} public void testAccept() { File dir = new File("foo"); FilenameFilter filter = new PatternFilenameFilter("a+"); assertTrue(filter.accept(dir, "a")); assertTrue(filter.accept(dir, "aaaa")); assertFalse(filter.accept(dir, "b")); // Show that dir is ignored assertTrue(filter.accept(null, "a")); } public void testNulls() throws Exception {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java
} else if (path.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with base dir but with drive root result = path.getAbsoluteFile(); } else { // an ordinary relative path, align with base dir result = new File(new File(basedir, path.getPath()).toURI().normalize()).getAbsoluteFile(); } }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/base/StandardSystemProperty.java
/** User's account name. */ USER_NAME("user.name"), /** User's home directory. */ USER_HOME("user.home"), /** User's current working directory. */ USER_DIR("user.dir"); private final String key; StandardSystemProperty(String key) { this.key = key; } /** Returns the key used to look up this system property. */ public String key() {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 23 15:09:35 GMT 2023 - 5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java
public static void main(String[] args) throws TransformerException, IOException { if (args.length < 3 || args.length > 4) { throw new IllegalArgumentException("USAGE: <style-sheet> <source-file> <dest-file> [dest-dir]"); } File stylesheet = new File(args[0]); File source = new File(args[1]); File dest = new File(args[2]); String destDir = ""; if (args.length > 3) {
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Oct 05 19:36:14 GMT 2023 - 2.2K bytes - Viewed (0) -
api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java
/** * Locates the pom in the given directory. * * @param dir the directory to locate the pom for, never {@code null} * @return a {@code Source} pointing to the located pom or an empty {@code Optional} if none was found by this parser */ @Nonnull Optional<Source> locate(@Nonnull Path dir); /** * Parse the model obtained previously by a previous call to {@link #locate(Path)}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3.1K bytes - Viewed (0)