Skip to content

Commit 2196ff6

Browse files
committed
[IO-553] Add
org.apache.commons.io.FilenameUtils.isIllegalWindowsFileName(char). Javadoc.
1 parent 0603303 commit 2196ff6

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/main/java/org/apache/commons/io/FilenameUtils.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1309,11 +1309,15 @@ public static boolean isExtension(final String filename, final Collection<String
13091309
* <li>* (asterisk</li>
13101310
* <li>ASCII NUL (0)</li>
13111311
* <li>Integer characters 1 through 31</li>
1312+
* <li>There may be other characters that the file name does not allow. Please see
1313+
* <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx">Naming Files, Paths,
1314+
* and Namespaces</a></li>
13121315
* </ul>
13131316
*
13141317
* @see <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx">Naming Files,
13151318
* Paths, and Namespaces</a>
1316-
* @param c the character to check
1319+
* @param c
1320+
* the character to check
13171321
* @return whether the give character is legal
13181322
* @since 2.7
13191323
*/

0 commit comments

Comments
 (0)