- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for NewFile (0.08 sec)
-
android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java
public void testFileTraverser_multipleDirectoryLayers_breadthFirstStartsWithTopLayer() throws Exception { File fileA = newFile("file-a"); 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); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java
@Test @DisplayName("Test constructor initializes fields correctly") public void testConstructor() throws Exception { // Given String oldFileName = "oldFile.txt"; String newFileName = "newFile.txt"; // When smbComRename = new SmbComRename(config, oldFileName, newFileName); // Then assertEquals(ServerMessageBlock.SMB_COM_RENAME, smbComRename.getCommand());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java
try { newFile = ComponentUtil.getSystemHelper().createTempFile(KUROMOJI, ".txt"); writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8)); } catch (final Exception e) { if (newFile != null) { newFile.delete(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
try { newFile = ComponentUtil.getSystemHelper().createTempFile(MAPPING, ".txt"); writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8)); } catch (final Exception e) { if (newFile != null) { newFile.delete(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java
try { newFile = ComponentUtil.getSystemHelper().createTempFile(PROTWORDS, ".txt"); writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8)); } catch (final Exception e) { if (newFile != null) { newFile.delete(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java
try { newFile = ComponentUtil.getSystemHelper().createTempFile(STOPWORDS, ".txt"); writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8)); } catch (final Exception e) { if (newFile != null) { newFile.delete(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java
try { newFile = ComponentUtil.getSystemHelper().createTempFile(SYNONYM, ".txt"); writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8)); } catch (final Exception e) { if (newFile != null) { newFile.delete(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java
try { newFile = ComponentUtil.getSystemHelper().createTempFile(STEMMER_OVERRIDE, ".txt"); writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8)); } catch (final Exception e) { if (newFile != null) { newFile.delete(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 13.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
public void testStorePropertiesOutputStreamString() throws IOException { final Properties outProperties = new Properties(); outProperties.setProperty("a", "A"); final File file = tempFolder.newFile("hoge.properties"); final FileOutputStream outputStream = OutputStreamUtil.create(file); PropertiesUtil.store(outProperties, outputStream, "comments"); CloseableUtil.close(outputStream);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbWatchHandleTest.java
// Setup mock behavior for FileNotifyInformation when(fileNotifyInfo1.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_ADDED); when(fileNotifyInfo1.getFileName()).thenReturn("newfile.txt"); when(fileNotifyInfo2.getAction()).thenReturn(FileNotifyInformation.FILE_ACTION_MODIFIED); when(fileNotifyInfo2.getFileName()).thenReturn("existingfile.txt");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.2K bytes - Viewed (0)