net.sourceforge.plantuml.FileImageData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml-mit Show documentation
Show all versions of plantuml-mit Show documentation
PlantUML is a component that allows to quickly write diagrams from text.
// THIS FILE HAS BEEN GENERATED BY A PREPROCESSOR.
package net.sourceforge.plantuml;
import net.sourceforge.plantuml.core.ImageData;
import net.sourceforge.plantuml.security.SFile;
public class FileImageData {
// ::remove file when __HAXE__
public static final int ERROR = 400;
public static final int CRASH = 503;
private final SFile file;
private final ImageData imageData;
public FileImageData(SFile file, ImageData imageData) {
this.file = file;
this.imageData = imageData;
}
public SFile getFile() {
return file;
}
public ImageData getImageData() {
return imageData;
}
public int getStatus() {
if (imageData == null) {
return 0;
}
return imageData.getStatus();
}
}