- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for FileOutputStream (0.23 sec)
-
src/main/java/org/codelibs/core/io/OutputStreamUtil.java
* @return ファイルへ出力する{@link FileOutputStream} * @see FileOutputStream#FileOutputStream(File) */ public static FileOutputStream create(final File file) { assertArgumentNotNull("file", file); try { return new FileOutputStream(file); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * {@link OutputStream}をflushします。
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactories.java
this.initialBytes = initialBytes; } @Override public ByteSink createSink() throws IOException { File file = createFile(); if (initialBytes != null) { FileOutputStream out = new FileOutputStream(file); try { out.write(initialBytes); } finally { out.close(); } return Files.asByteSink(file, FileWriteMode.APPEND); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 06 12:56:11 GMT 2023 - 12.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactories.java
this.initialBytes = initialBytes; } @Override public ByteSink createSink() throws IOException { File file = createFile(); if (initialBytes != null) { FileOutputStream out = new FileOutputStream(file); try { out.write(initialBytes); } finally { out.close(); } return Files.asByteSink(file, FileWriteMode.APPEND); }
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Sep 09 17:57:59 GMT 2021 - 17.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
throw new IORuntimeException(e); } properties = prop; } public synchronized void store() { FileOutputStream fos = null; try { fos = new FileOutputStream(propertiesFile); properties.store(fos, propertiesFile.getName()); } catch (final IOException e) {
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java
if (destDir.length() > 0) { transformer.setParameter("base.dir", destDir + "/"); } FileOutputStream outstr = new FileOutputStream(dest); try { transformer.transform(new StreamSource(source), new StreamResult(outstr)); } finally { outstr.close(); } }
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Thu Oct 05 19:36:14 GMT 2023 - 2.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.util; import java.io.BufferedWriter; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStreamWriter; import java.io.Writer; import java.util.Map; import java.util.function.Consumer; import org.apache.logging.log4j.LogManager;
Java - Registered: Mon Apr 22 08:04:10 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 2.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/RenderMarkdown.java
import org.gradle.api.tasks.PathSensitive; import org.gradle.api.tasks.PathSensitivity; import org.gradle.api.tasks.TaskAction; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.nio.charset.Charset; import java.util.Collections; /**
Java - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/io/FileBackedOutputStream.java
if (resetOnFinalize) { // Finalizers are not guaranteed to be called on system shutdown; // this is insurance. temp.deleteOnExit(); } try { FileOutputStream transfer = new FileOutputStream(temp); transfer.write(memory.getBuffer(), 0, memory.getCount()); transfer.flush(); // We've successfully transferred the data; switch to writing to file out = transfer;
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/IoTestCase.java
* limitations under the License. */ package com.google.common.io; import com.google.common.collect.Sets; import com.google.errorprone.annotations.CanIgnoreReturnValue; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.net.URL; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 19 19:24:36 GMT 2023 - 5.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java
throw new GradleException(String.format("Could not load meta-data from %s.", repoFile), e); } } public void store(File repoFile) { try { FileOutputStream outputStream = new FileOutputStream(repoFile); try { ObjectOutputStream objOutputStream = new ObjectOutputStream(new BufferedOutputStream(outputStream)); objOutputStream.writeObject(classes);
Java - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4K bytes - Viewed (0)