public class Picture extends File
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static boolean |
isPictureFileName(String fileName)
checks the filename of picture files correct or not.
|
getFileNamepublic Picture(String _fileName) throws IllegalFileNameException
_fileName - { "jpg", "png", "gif", "jpeg" }IllegalFileNameException - is thrown if the file name is not picture's name.public static boolean isPictureFileName(String fileName)
fileName - is the name of file which you may want to check.true if this fileName has the extension of picture
file such as "jpg" and "gif", false otherwiseCopyright © 2018. All rights reserved.