📄 fileentry.java
字号:
/* * FileEntry.java * * Created on 20 maggio 2004, 8.16 */package it.businesslogic.ireport.plugin.massivecompiler;import java.io.*;/** * * @author Administrator */public class FileEntry { public static final int STATUS_NOT_COMPILED = 1; public static final int STATUS_COMPILED = 2; public static final int STATUS_ERROR_COMPILING = 3; private File file = null; private int status = 0; private String message = ""; private String jasper_version = ""; /** Creates a new instance of FileEntry */ public FileEntry() { } /** Getter for property message. * @return Value of property message. * */ public java.lang.String getMessage() { return message; } /** Setter for property message. * @param message New value of property message. * */ public void setMessage(java.lang.String message) { this.message = message; } /** Getter for property status. * @return Value of property status. * */ public int getStatus() { return status; } /** Getter for property status. * @return Value of property status. * */ public static String decodeStatus( int status ) { // Decode the status... switch (status) { case STATUS_NOT_COMPILED: return "Not compiled"; case STATUS_COMPILED: return "Compiled"; case STATUS_ERROR_COMPILING: return "Error compiling"; } return ""+status; } /** Setter for property status. * @param status New value of property status. * */ public void setStatus(int status) { this.status = status; } /** Getter for property file. * @return Value of property file. * */ public File getFile() { return file; } /** Setter for property file. * @param file New value of property file. * */ public void setFile(File file) { this.file = file; } public String toString() { if (file == null) return ""; try { return file.getCanonicalPath(); }catch (Exception ex) {} return ""; } /** Getter for property jasper_version. * @return Value of property jasper_version. * */ public java.lang.String getJasper_version() { return jasper_version; } /** Setter for property jasper_version. * @param jasper_version New value of property jasper_version. * */ public void setJasper_version(java.lang.String jasper_version) { this.jasper_version = jasper_version; } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -