- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for BufferedInputStream (0.1 sec)
-
src/main/java/org/codelibs/fess/app/web/thumbnail/ThumbnailAction.java
} return asStream(form.docId).contentType(getImageMimeType(thumbnailFile)).stream(out -> { try (BufferedInputStream in = new BufferedInputStream(new FileInputStream(thumbnailFile))) { out.write(in); } }); } protected String getImageMimeType(final File imageFile) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
try (BufferedInputStream bis = new BufferedInputStream(inputSupplier.open(), BUFFER_SIZE)) { bis.mark(BUFFER_SIZE); XMLStreamReader xsr = XMLInputFactory.newFactory().createXMLStreamReader(bis); xsr.nextTag(); String nsUri = xsr.getNamespaceURI(); try (BufferedInputStream bis2 = reset(inputSupplier, bis)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 17.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlResponse.java
return parser.apply(this); } public String getContentAsString() { final byte[] bytes = new byte[4096]; try (BufferedInputStream bis = new BufferedInputStream(getContentAsStream()); ByteArrayOutputStream baos = new ByteArrayOutputStream()) { int length = bis.read(bytes); while (length != -1) {
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 4K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
} }); } private void writeContent(final Supplier<InputStream> handler) { try (BufferedInputStream bis = new BufferedInputStream(handler.get()); ContentOutputStream dfos = new ContentOutputStream(threshold, Curl.tmpDir)) { final byte[] bytes = new byte[4096];
Registered: Thu Oct 31 02:32:13 UTC 2024 - Last Modified: Sun Feb 12 12:21:25 UTC 2023 - 12.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
*/ package org.codelibs.core.io; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import java.net.URL;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.dict; import java.io.BufferedInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.Iterator; import java.util.List;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteSource.java
* @since 15.0 (in 14.0 with return type {@link BufferedInputStream}) */ public InputStream openBufferedStream() throws IOException { InputStream in = openStream(); return (in instanceof BufferedInputStream) ? (BufferedInputStream) in : new BufferedInputStream(in); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 26.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java
} @Override protected void storeData(final ResponseData responseData, final ResultData resultData) { final DOMParser parser = getDomParser(); try (final BufferedInputStream bis = new BufferedInputStream(responseData.getResponseBody())) { final byte[] bomBytes = new byte[UTF8_BOM_SIZE]; bis.mark(UTF8_BOM_SIZE); final int size = bis.read(bomBytes);
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 13:01:38 UTC 2024 - 42.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 52.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.helper; import static org.codelibs.core.stream.StreamUtil.split; import java.io.BufferedInputStream; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.URLDecoder; import java.net.URLEncoder; import java.util.ArrayList;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 40.2K bytes - Viewed (0)