com.openfin.desktop.PrinterInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openfin-desktop-java-adapter Show documentation
Show all versions of openfin-desktop-java-adapter Show documentation
The Java API for OpenFin Runtime
package com.openfin.desktop;
import org.json.JSONObject;
public class PrinterInfo extends JsonBean {
public PrinterInfo(JSONObject json) {
super(json);
}
public boolean isDefault() {
return this.getBooleanValue("isDefault");
}
public String getName() {
return this.getString("name");
}
public String getDisplayname() {
return this.getString("displayName");
}
}