59 lines
1.5 KiB
Java
59 lines
1.5 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package javax.baja.file;
|
|
|
|
import javax.baja.agent.BIAgent;
|
|
import javax.baja.file.BIFile;
|
|
import javax.baja.file.ExportOp;
|
|
import javax.baja.registry.TypeInfo;
|
|
import javax.baja.sys.BComponent;
|
|
import javax.baja.sys.Sys;
|
|
import javax.baja.sys.Type;
|
|
|
|
/*
|
|
* Illegal identifiers - consider using --renameillegalidents true
|
|
*/
|
|
public abstract class BExporter
|
|
extends BComponent
|
|
implements BIAgent {
|
|
public static final Type TYPE;
|
|
static /* synthetic */ Class class$javax$baja$file$BExporter;
|
|
|
|
public Type getType() {
|
|
return TYPE;
|
|
}
|
|
|
|
public abstract TypeInfo getFileType();
|
|
|
|
public abstract String getFileExtension();
|
|
|
|
public final String getFileMimeType() {
|
|
return ((BIFile)((Object)this.getFileType().getInstance())).getMimeType();
|
|
}
|
|
|
|
public abstract void export(ExportOp var1) throws Exception;
|
|
|
|
static /* synthetic */ Class class(String string, boolean bl) {
|
|
try {
|
|
Class<?> clazz = Class.forName(string);
|
|
if (!bl) {
|
|
clazz = clazz.getComponentType();
|
|
}
|
|
return clazz;
|
|
}
|
|
catch (ClassNotFoundException classNotFoundException) {
|
|
throw new NoClassDefFoundError(classNotFoundException.getMessage());
|
|
}
|
|
}
|
|
|
|
static {
|
|
Class clazz = class$javax$baja$file$BExporter;
|
|
if (clazz == null) {
|
|
clazz = class$javax$baja$file$BExporter = BExporter.class("[Ljavax.baja.file.BExporter;", false);
|
|
}
|
|
TYPE = Sys.loadType(clazz);
|
|
}
|
|
}
|
|
|