public class JarWriter extends AbstractJarWriter implements AutoCloseableSE
コンストラクターと説明 |
---|
JarWriter(FileSE file) 新しい JarWriter インスタンスを作成します。 |
JarWriter(FileSE file, LaunchScript launchScript) 新しい JarWriter インスタンスを作成します。 |
JarWriter(FileSE file, LaunchScript launchScript, FileTimeSE lastModifiedTime) 新しい JarWriter インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | close() ライターを閉じます。 |
protected void | writeToArchive(ZipEntrySE entry, EntryWriter entryWriter) |
writeEntry, writeEntry, writeIndexFile, writeLoaderClasses, writeLoaderClasses, writeManifest, writeNestedLibrary
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
public JarWriter(FileSE file) throws FileNotFoundExceptionSE, IOExceptionSE
JarWriter
インスタンスを作成します。file
- 書き込むファイル IOExceptionSE
- ファイルを開くことができない場合 FileNotFoundExceptionSE
- ファイルが見つからない場合 public JarWriter(FileSE file, LaunchScript launchScript) throws FileNotFoundExceptionSE, IOExceptionSE
JarWriter
インスタンスを作成します。file
- 書き込むファイル launchScript
- jar の前面に追加するオプションの起動スクリプト IOExceptionSE
- ファイルを開くことができない場合 FileNotFoundExceptionSE
- ファイルが見つからない場合 public JarWriter(FileSE file, LaunchScript launchScript, FileTimeSE lastModifiedTime) throws FileNotFoundExceptionSE, IOExceptionSE
JarWriter
インスタンスを作成します。file
- 書き込むファイル launchScript
- jar の前面に追加するオプションの起動スクリプト lastModifiedTime
- 書き込まれたエントリに適用するオプションの最終変更時刻 IOExceptionSE
- ファイルを開くことができない場合 FileNotFoundExceptionSE
- ファイルが見つからない場合 protected void writeToArchive(ZipEntrySE entry, EntryWriter entryWriter) throws IOExceptionSE
AbstractJarWriter
の writeToArchive
IOExceptionSE
public void close() throws IOExceptionSE
AutoCloseableSE
の closeSE
IOExceptionSE
- ファイルを閉じることができない場合