@Deprecated
public abstract class ZipFileComment
extends java.lang.Object
| コンストラクタ | 説明 |
|---|---|
ZipFileComment() |
推奨されていません。
|
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
static java.lang.String |
getComment(java.io.File file,
int max) |
推奨されていません。
|
static java.lang.String |
getComment(java.io.File file,
int max,
int skip) |
推奨されていません。
|
static void |
main(java.lang.String[] args) |
推奨されていません。
|
public static java.lang.String getComment(java.io.File file,
int max)
throws java.io.IOException
max - The max length of the comment in bytes.
If the actual comment is longer, it will not be found and
this method will throw an IOEjava.io.IOException - if no valid end-of-central-directory record foundpublic static java.lang.String getComment(java.io.File file,
int max,
int skip)
throws java.io.IOException
max - The max length of the comment in bytes.
If the actual comment is longer, it will not be found and
this method will throw an IOEskip - Number of bytes to skip in the file before looking for the
zip header. Use 56 for sud/su2 files.java.io.IOException - if no valid end-of-central-directory record foundpublic static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException