- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for FileInputStream (0.1 sec)
-
AdminEsreqAction.java
the License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.app.web.admin.esreq; L17: L18:import java.io.BufferedReader; L19:import java.io.File; L20:import java.io.FileInputStream; L21:import java.io.InputStream; L22:import java.io.InputStreamReader; L23:import java.util.Locale; L24: L25:import org.apache.logging.log4j.LogManager; L26:import org.apache.logging.log4j.Logger; L27:import org.codelibs.core.io.CopyUtil; L28:import...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 6.2K bytes -
ThumbnailAction.java
License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.app.web.thumbnail; L17: L18:import java.io.BufferedInputStream; L19:import java.io.File; L20:import java.io.FileInputStream; L21:import java.util.Map; L22: L23:import org.codelibs.core.lang.StringUtil; L24:import org.codelibs.fess.app.web.base.FessSearchAction; L25:import org.codelibs.fess.util.DocumentUtil; L26:import org.lastaflute.web.Execute; L27:import org.la...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.6K bytes -
ContentCache.java
specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.curl.io; L17: L18:import java.io.ByteArrayInputStream; L19:import java.io.Closeable; L20:import java.io.File; L21:import java.io.FileInputStream; L22:import java.io.IOException; L23:import java.io.InputStream; L24:import java.nio.file.Files; L25:import java.util.logging.Logger; L26: L27:public class ContentCache implements Closeable { L28: L29: protected static final Logger logger =...github.com/codelibs/curl4j/src/main/java/org/co...Mon Nov 14 21:05:19 UTC 2022 1.6K bytes -
AdminBackupAction.java
org.codelibs.core.stream.StreamUtil.stream; L19: L20:import java.io.BufferedReader; L21:import java.io.BufferedWriter; L22:import java.io.ByteArrayInputStream; L23:import java.io.ByteArrayOutputStream; L24:import java.io.File; L25:import java.io.FileInputStream; L26:import java.io.FileOutputStream; L27:import java.io.IOException; L28:import java.io.InputStream; L29:import java.io.InputStreamReader; L30:import java.io.OutputStream; L31:import java.io.OutputStreamWriter; L32:import java.io.Writer; L33:import...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:46 UTC 2024 28.5K bytes -
OsddHelper.java
ANY KIND, L13: * either express or implied. See the License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.helper; L17: L18:import java.io.File; L19:import java.io.FileInputStream; L20:import java.io.InputStream; L21: L22:import org.apache.logging.log4j.LogManager; L23:import org.apache.logging.log4j.Logger; L24:import org.codelibs.core.lang.StringUtil; L25:import org.codelibs.fess.Constants; L26:import org.codelibs.fe...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 3.7K bytes -
CurlHelper.java
See the License for the specific language L14: * governing permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.helper; L17: L18:import static org.codelibs.core.stream.StreamUtil.split; L19: L20:import java.io.FileInputStream; L21:import java.io.InputStream; L22:import java.nio.charset.StandardCharsets; L23:import java.security.KeyStore; L24:import java.security.cert.Certificate; L25:import java.security.cert.CertificateFactory; L26: L27:import javax.net.ssl.SSLContext;...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 4.8K bytes -
CurlTest.java
"error", e); L37: fail(); L38: }); L39: } L40: L41: /* L42: @Test L43: public void test_Get_ssl() throws Exception { L44: final String filename = "config/certs/http_ca.crt"; L45: try (InputStream in = new FileInputStream(filename)) { L46: Certificate certificate = CertificateFactory.getInstance("X.509").generateCertificate(in); L47: L48: KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType()); L49: keyStore.load(null,...github.com/codelibs/curl4j/src/test/java/org/co...Mon Nov 14 21:05:19 UTC 2022 2.5K bytes -
AdminDesignAction.java
L208: } L209: validate(form, messages -> {}, this::asListHtml); L210: verifyTokenKeep(this::asListHtml); L211: return asStream(file.getName()).contentTypeOctetStream().stream(out -> { L212: try (FileInputStream fis = new FileInputStream(file)) { L213: out.write(fis); L214: } L215: }); L216: } L217: L218: @Execute L219: @Secured({ ROLE }) L220: public HtmlResponse delete(final FileAccessForm form) { L221: getTar...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 16.1K bytes -
PluginHelper.java
permissions and limitations under the License. L15: */ L16:package org.codelibs.fess.helper; L17: L18:import static org.codelibs.core.stream.StreamUtil.split; L19: L20:import java.io.ByteArrayInputStream; L21:import java.io.File; L22:import java.io.FileInputStream; L23:import java.io.IOException; L24:import java.io.InputStream; L25:import java.net.Proxy; L26:import java.nio.file.Files; L27:import java.nio.file.Path; L28:import java.nio.file.Paths; L29:import java.util.ArrayList; L30:import java.util.Collections;...github.com/codelibs/fess/src/main/java/org/code...Thu Oct 24 01:47:10 UTC 2024 17.8K bytes