I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 60d9c165 authored by zzz's avatar zzz
Browse files

SU3File: Show content and file types in showversion

parent ec1380df
No related branches found
No related tags found
No related merge requests found
......@@ -683,6 +683,20 @@ public class SU3File {
System.out.println("Signer: " + signerString);
if (file._sigType != null)
System.out.println("SigType: " + file._sigType);
if (file._contentType != null)
System.out.println("Content: " + file._contentType);
String ftype;
if (file._fileType == TYPE_ZIP)
ftype = "ZIP";
else if (file._fileType == TYPE_XML)
ftype = "XML";
else if (file._fileType == TYPE_HTML)
ftype = "HTML";
else if (file._fileType == TYPE_XML_GZ)
ftype = "XML_GZ";
else
ftype = Integer.toString(file._fileType);
System.out.println("FileType: " + ftype);
return !versionString.equals("");
} catch (IOException ioe) {
ioe.printStackTrace();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment