- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 291 for file (0.03 sec)
-
src/main/java/org/codelibs/core/io/WriterUtil.java
/** * プラットフォームデフォルトエンコーディングでファイルへ出力する{@link Writer}を作成します。 * * @param file * ファイル。{@literal null}であってはいけません * @return ファイルへ出力する{@link Writer} */ public static Writer create(final File file) { assertArgumentNotNull("file", file); try { return new FileWriter(file); } catch (final IOException e) { throw new IORuntimeException(e);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ReaderUtil.java
/** * プラットフォームデフォルトエンコーディングでファイルから入力する{@link Reader}を作成します。 * * @param file * ファイル。{@literal null}であってはいけません * @return ファイルから入力する{@link Reader} */ public static Reader create(final File file) { assertArgumentNotNull("file", file); try { return new FileReader(file); } catch (final IOException e) { throw new IORuntimeException(e);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 4.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
* {@link FileInputStream}を作成します。 * * @param file * ファイル。{@literal null}であってはいけません * @return ファイルから入力する{@link FileInputStream} * @see FileInputStream#FileInputStream(File) */ public static FileInputStream create(final File file) { assertArgumentNotNull("file", file); try { return new FileInputStream(file); } catch (final IOException e) {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
* @param handler * リソースを処理するハンドラ */ protected static void traverseFileSystem(final File rootDir, final File baseDir, final ResourceHandler handler) { for (final File file : baseDir.listFiles()) { if (file.isDirectory()) { traverseFileSystem(rootDir, file, handler); } else { final int pos = FileUtil.getCanonicalPath(rootDir).length();
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 10.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
*/ protected static File getBaseDir(final URL url, final String baseName) { assertArgumentNotNull("url", url); File file = URLUtil.toFile(url); final String[] paths = StringUtil.split(baseName, "/"); for (final String path : paths) { file = file.getParentFile(); } return file; } /**
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 19.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/CopyUtil.java
// from File to File // /** * ファイルからファイルへコピーします。 * * @param in * 入力ファイル。{@literal null}であってはいけません * @param out * 出力ファイル。{@literal null}であってはいけません * @return コピーしたバイト数 */ public static int copy(final File in, final File out) { assertArgumentNotNull("in", in);
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 52.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
return canonicalProtocol; } return protocol; } /** * URLが示すJarファイルの{@link File}オブジェクトを返します。 * * @param fileUrl * JarファイルのURL。{@literal null}であってはいけません * @return Jarファイルの{@link File} */ public static File toFile(final URL fileUrl) { assertArgumentNotNull("fileUrl", fileUrl); try {
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/BadPaddingRuntimeException.java
/* * Copyright 2012-2024 CodeLibs Project and the Others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1008 bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/IllegalBlockSizeRuntimeException.java
/* * Copyright 2012-2024 CodeLibs Project and the Others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/EmptyEnumeration.java
/* * Copyright 2012-2024 CodeLibs Project and the Others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS,
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1K bytes - Viewed (0)