organize imports

This commit is contained in:
Redhuan D. Oon 2008-12-22 10:06:48 +00:00
parent 97b965e42d
commit 2e48792949
48 changed files with 422 additions and 182 deletions

View File

@ -16,7 +16,7 @@
*****************************************************************************/
package org.compiere.util;
import org.compiere.process.*;
import org.compiere.process.ProcessInfo;
/**
* Async Process Interface.

View File

@ -16,9 +16,11 @@
*****************************************************************************/
package org.compiere.util;
import java.util.logging.*;
import javax.swing.*;
import org.compiere.process.*;
import java.util.logging.Level;
import javax.swing.SwingUtilities;
import org.compiere.process.ProcessInfo;
/**
* ASync Worker for starting methods in classes implementing ASyncProcess

View File

@ -5,8 +5,6 @@ import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import org.compiere.util.AmtInWords;
public class AmtInWords_HU implements AmtInWords {
static String thousandseparator=",";

View File

@ -16,9 +16,15 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import java.util.logging.*;
import javax.activation.*;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.UnsupportedEncodingException;
import java.util.logging.Level;
import javax.activation.DataSource;
/**
* A DataSource based on the Java Mail Example.

View File

@ -16,8 +16,12 @@
*****************************************************************************/
package org.compiere.util;
import java.beans.*;
import java.util.*;
import java.beans.VetoableChangeListener;
import java.beans.VetoableChangeSupport;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
/**
* Adempiere Cache.

View File

@ -16,13 +16,22 @@
*****************************************************************************/
package org.compiere.util;
import java.sql.*;
import java.util.*;
import javax.sql.*;
import javax.sql.rowset.*;
import org.compiere.db.*;
import oracle.jdbc.rowset.*;
import com.sun.rowset.*;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.util.Collection;
import java.util.Locale;
import javax.sql.RowSet;
import javax.sql.rowset.CachedRowSet;
import oracle.jdbc.rowset.OracleCachedRowSet;
import org.compiere.db.AdempiereDatabase;
import org.compiere.db.Database;
import com.sun.rowset.CachedRowSetImpl;
/**

View File

@ -16,9 +16,14 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import java.sql.*;
import java.util.logging.*;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.sql.DriverManager;
import java.util.logging.ErrorManager;
import java.util.logging.Handler;
import java.util.logging.Level;
import java.util.logging.LogRecord;
/**
* Adempiere Console Logger

View File

@ -16,11 +16,17 @@
*****************************************************************************/
package org.compiere.util;
import java.sql.*;
import java.util.*;
import java.util.logging.*;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.Properties;
import java.util.Vector;
import java.util.logging.ErrorManager;
import java.util.logging.Handler;
import java.util.logging.Level;
import java.util.logging.LogRecord;
import org.compiere.model.*;
import org.compiere.model.MIssue;
/**
* Client Error Buffer

View File

@ -16,9 +16,13 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import java.sql.*;
import java.util.logging.*;
import java.io.File;
import java.io.FileWriter;
import java.sql.Timestamp;
import java.util.logging.ErrorManager;
import java.util.logging.Handler;
import java.util.logging.Level;
import java.util.logging.LogRecord;
/**

View File

@ -16,7 +16,9 @@
*****************************************************************************/
package org.compiere.util;
import java.util.logging.*;
import java.util.logging.Filter;
import java.util.logging.Level;
import java.util.logging.LogRecord;
/**

View File

@ -16,10 +16,14 @@
*****************************************************************************/
package org.compiere.util;
import java.awt.*;
import java.rmi.*;
import java.sql.*;
import java.util.logging.*;
import java.awt.Toolkit;
import java.rmi.ServerException;
import java.sql.SQLException;
import java.sql.Timestamp;
import java.util.logging.Formatter;
import java.util.logging.Handler;
import java.util.logging.Level;
import java.util.logging.LogRecord;
/**

View File

@ -16,15 +16,27 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import java.net.*;
import java.sql.*;
import java.util.*;
import java.util.jar.*;
import java.util.logging.*;
import org.compiere.*;
import org.compiere.db.*;
import org.compiere.model.*;
import java.io.BufferedInputStream;
import java.io.InputStream;
import java.io.PrintWriter;
import java.net.InetAddress;
import java.sql.DriverManager;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.Iterator;
import java.util.Properties;
import java.util.jar.Attributes;
import java.util.jar.Manifest;
import java.util.logging.Filter;
import java.util.logging.Handler;
import java.util.logging.Level;
import java.util.logging.LogManager;
import java.util.logging.Logger;
import org.compiere.Adempiere;
import org.compiere.db.CConnection;
import org.compiere.model.MClient;
/**

View File

@ -16,7 +16,9 @@
*****************************************************************************/
package org.compiere.util;
import org.apache.log4j.*;
import org.apache.log4j.Level;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
/**
* Log4J Utilities.

View File

@ -16,8 +16,9 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import java.util.logging.*;
import java.io.Serializable;
import java.util.logging.LogManager;
import java.util.logging.Logger;
/**

View File

@ -16,8 +16,8 @@
*****************************************************************************/
package org.compiere.util;
import java.lang.management.*;
import java.text.*;
import java.lang.management.MemoryUsage;
import java.text.DecimalFormat;
/**
* Memory Usage Info

View File

@ -16,9 +16,10 @@
*****************************************************************************/
package org.compiere.util;
import java.sql.*;
import java.sql.SQLException;
import java.sql.Statement;
import javax.sql.*;
import javax.sql.RowSet;
/**
* Interface to wrap and extend Statement

View File

@ -16,11 +16,7 @@
*****************************************************************************/
package org.compiere.util;
import java.rmi.*;
import java.util.*;
import java.util.logging.*;
import org.compiere.db.*;
import org.compiere.interfaces.*;
import java.util.ArrayList;
/**
* Adempiere Cache Manangement

View File

@ -16,11 +16,14 @@
*****************************************************************************/
package org.compiere.util;
import java.net.*;
import java.util.*;
import javax.naming.*;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Hashtable;
import org.compiere.interfaces.*;
import javax.naming.InitialContext;
import javax.naming.NamingEnumeration;
import org.compiere.interfaces.Status;
/**
* Apps Server Connection Test

View File

@ -16,8 +16,11 @@
*****************************************************************************/
package org.compiere.util;
import java.text.*;
import java.util.*;
import java.text.DateFormat;
import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.Locale;
import java.util.logging.Level;
/**

View File

@ -16,16 +16,36 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import java.net.*;
import java.util.*;
import java.util.logging.*;
import javax.activation.*;
import javax.mail.*;
import javax.mail.internet.*;
import com.sun.mail.smtp.*;
import java.io.File;
import java.io.IOException;
import java.io.Serializable;
import java.net.URL;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Enumeration;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.model.*;
import javax.activation.DataHandler;
import javax.activation.DataSource;
import javax.activation.FileDataSource;
import javax.activation.URLDataSource;
import javax.mail.Address;
import javax.mail.AuthenticationFailedException;
import javax.mail.Message;
import javax.mail.MessagingException;
import javax.mail.Multipart;
import javax.mail.SendFailedException;
import javax.mail.Session;
import javax.mail.Transport;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeBodyPart;
import javax.mail.internet.MimeMessage;
import javax.mail.internet.MimeMultipart;
import org.compiere.model.MClient;
import com.sun.mail.smtp.SMTPMessage;
/**
* EMail Object.

View File

@ -16,8 +16,10 @@
*****************************************************************************/
package org.compiere.util;
import java.util.logging.*;
import javax.mail.*;
import java.util.logging.Level;
import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;
/**
* Email User Authentification

View File

@ -16,8 +16,9 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import junit.framework.*;
import java.io.File;
import junit.framework.TestCase;
/**
* The class <code>EMailTest</code> contains tests for the class

View File

@ -16,8 +16,9 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import java.util.*;
import java.io.InputStream;
import java.util.Properties;
import java.util.StringTokenizer;
/**
* Environment Loader - loads system environment variables int System.properties

View File

@ -16,9 +16,10 @@
*****************************************************************************/
package org.compiere.util;
import java.math.*;
import java.util.*;
import java.util.logging.*;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.StringTokenizer;
import java.util.logging.Level;
/**

View File

@ -16,10 +16,11 @@
*****************************************************************************/
package org.compiere.util;
import javax.swing.filechooser.*;
import java.io.File;
import java.io.Serializable;
import javax.swing.filechooser.FileFilter;
/**
* Extension File Chooser

View File

@ -16,11 +16,16 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import java.util.logging.*;
import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.ecs.xhtml.*;
import java.io.DataInputStream;
import java.io.IOException;
import java.util.logging.Level;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import org.apache.ecs.xhtml.form;
import org.apache.ecs.xhtml.input;
import org.apache.ecs.xhtml.label;
/**
* Web File Upload utility.

View File

@ -16,7 +16,9 @@
*****************************************************************************/
package org.compiere.util;
import org.apache.ecs.*;
import org.apache.ecs.Element;
import org.apache.ecs.MultiPartElement;
import org.apache.ecs.Printable;
/**
* ECS Component Collection.

View File

@ -16,15 +16,25 @@
*****************************************************************************/
package org.compiere.util;
import java.awt.*;
import java.awt.event.*;
import java.net.*;
import java.util.*;
import java.util.logging.*;
import javax.swing.*;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.net.URL;
import java.util.ResourceBundle;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JEditorPane;
import javax.swing.JLabel;
import javax.swing.JScrollPane;
import org.adempiere.plaf.AdempierePLAF;
import org.compiere.swing.*;
import org.compiere.swing.CPanel;
/**
* Init Dialog

View File

@ -16,12 +16,17 @@
*****************************************************************************/
package org.compiere.util;
import java.awt.*;
import java.io.*;
import java.text.*;
import java.util.*;
import java.util.logging.*;
import javax.print.attribute.standard.*;
import java.awt.ComponentOrientation;
import java.io.Serializable;
import java.text.DateFormat;
import java.text.DecimalFormatSymbols;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Locale;
import java.util.logging.Logger;
import javax.print.attribute.standard.MediaSize;
/**
* Language Management.

View File

@ -16,15 +16,25 @@
*****************************************************************************/
package org.compiere.util;
import java.security.*;
import java.sql.*;
import java.util.*;
import java.util.logging.*;
import javax.swing.*;
//
import org.compiere.*;
import org.compiere.db.*;
import org.compiere.model.*;
import java.security.Principal;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.Locale;
import java.util.Properties;
import java.util.logging.Level;
import javax.swing.JOptionPane;
import org.compiere.Adempiere;
import org.compiere.db.CConnection;
import org.compiere.model.MCountry;
import org.compiere.model.MRole;
import org.compiere.model.MSystem;
import org.compiere.model.MTree_Base;
import org.compiere.model.ModelValidationEngine;
/**

View File

@ -16,16 +16,16 @@
*****************************************************************************/
package org.compiere.util;
import java.io.File;
import java.io.File;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.text.MessageFormat;
import java.util.Iterator;
import java.text.MessageFormat;
import java.util.Iterator;
import java.util.Properties;
import java.util.logging.Level;
import java.util.logging.Level;
import org.compiere.Adempiere;
import org.compiere.Adempiere;
/**
* Reads all Messages and stores them in a HashMap

View File

@ -16,7 +16,7 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import java.io.Serializable;
/**
* Null Parameter for CPreparedStatement

View File

@ -16,8 +16,7 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
//import oracle.AQ.*;
import java.io.Serializable;
//import org.compiere.db.CConnection;

View File

@ -16,8 +16,10 @@
*****************************************************************************/
package org.compiere.util;
import java.math.*;
import org.compiere.model.*;
import java.math.BigDecimal;
import org.compiere.model.MWarehouse;
import org.compiere.model.X_T_Replenish;
/**
* Custom Replenishment Interface

View File

@ -16,11 +16,17 @@
*****************************************************************************/
package org.compiere.util;
import java.math.*;
import java.security.*;
import java.math.BigDecimal;
import java.security.AlgorithmParameters;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.sql.Timestamp;
import java.util.logging.*;
import javax.crypto.*;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.crypto.Cipher;
import javax.crypto.KeyGenerator;
import javax.crypto.SecretKey;
/**
* Security Services.

View File

@ -16,8 +16,8 @@
*****************************************************************************/
package org.compiere.util;
import java.util.*;
import java.util.logging.*;
import java.util.Properties;
import java.util.logging.Logger;
/**
* Security Engine

View File

@ -16,8 +16,8 @@
*****************************************************************************/
package org.compiere.util;
import java.math.*;
import java.sql.*;
import java.math.BigDecimal;
import java.sql.Timestamp;
/**
* Adempiere Security Interface.

View File

@ -16,8 +16,23 @@
*****************************************************************************/
package org.compiere.util;
import java.awt.*;
import java.net.*;
import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Component;
import java.awt.Dimension;
import java.awt.Frame;
import java.awt.Graphics;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Image;
import java.awt.Insets;
import java.awt.Label;
import java.awt.MediaTracker;
import java.awt.Panel;
import java.awt.Rectangle;
import java.awt.SystemColor;
import java.awt.Toolkit;
import java.net.URL;
import java.util.Locale;
import org.compiere.Adempiere;

View File

@ -16,8 +16,10 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import java.util.logging.*;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.logging.Level;
/**
* Execute OS Task

View File

@ -16,8 +16,10 @@
*****************************************************************************/
package org.compiere.util;
import java.sql.*;
import java.util.*;
import java.sql.Timestamp;
import java.util.BitSet;
import java.util.Calendar;
import java.util.GregorianCalendar;
/**

View File

@ -16,8 +16,8 @@
*****************************************************************************/
package org.compiere.util;
import java.util.*;
import java.util.logging.*;
import java.util.ArrayList;
import java.util.logging.Logger;
/**
* Trace Information

View File

@ -16,14 +16,23 @@
*****************************************************************************/
package org.compiere.util;
import java.awt.*;
import java.awt.font.*;
import java.io.*;
import java.text.*;
import java.util.*;
import java.util.logging.*;
import java.awt.Color;
import java.awt.font.TextAttribute;
import java.io.UnsupportedEncodingException;
import java.text.AttributedCharacterIterator;
import java.text.AttributedString;
import java.util.HashSet;
import java.util.Iterator;
import java.util.Map;
import java.util.Set;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.*;
import javax.swing.Action;
import javax.swing.ActionMap;
import javax.swing.InputMap;
import javax.swing.JComponent;
import javax.swing.KeyStroke;
/**
* General Utilities

View File

@ -16,11 +16,28 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.Properties;
import org.apache.ecs.*;
import org.apache.ecs.xhtml.*;
import org.apache.ecs.AlignType;
import org.apache.ecs.Element;
import org.apache.ecs.xhtml.a;
import org.apache.ecs.xhtml.b;
import org.apache.ecs.xhtml.body;
import org.apache.ecs.xhtml.form;
import org.apache.ecs.xhtml.h1;
import org.apache.ecs.xhtml.head;
import org.apache.ecs.xhtml.html;
import org.apache.ecs.xhtml.img;
import org.apache.ecs.xhtml.input;
import org.apache.ecs.xhtml.link;
import org.apache.ecs.xhtml.meta;
import org.apache.ecs.xhtml.script;
import org.apache.ecs.xhtml.table;
import org.apache.ecs.xhtml.td;
import org.apache.ecs.xhtml.title;
import org.apache.ecs.xhtml.tr;
/**

View File

@ -16,16 +16,35 @@
*****************************************************************************/
package org.compiere.util;
import java.sql.*;
import java.util.*;
import java.util.logging.*;
import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.ecs.*;
import org.apache.ecs.xhtml.*;
import java.sql.Timestamp;
import java.util.Enumeration;
import java.util.Properties;
import java.util.logging.Level;
import org.compiere.*;
import org.compiere.model.*;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.ecs.AlignType;
import org.apache.ecs.xhtml.a;
import org.apache.ecs.xhtml.body;
import org.apache.ecs.xhtml.br;
import org.apache.ecs.xhtml.comment;
import org.apache.ecs.xhtml.h3;
import org.apache.ecs.xhtml.hr;
import org.apache.ecs.xhtml.img;
import org.apache.ecs.xhtml.p;
import org.apache.ecs.xhtml.script;
import org.apache.ecs.xhtml.table;
import org.apache.ecs.xhtml.td;
import org.apache.ecs.xhtml.tr;
import org.compiere.Adempiere;
import org.compiere.model.MClient;
import org.compiere.model.MSystem;
/**
* Web Environment and debugging

View File

@ -16,11 +16,17 @@
package org.compiere.util;
import java.io.IOException;
import java.util.*;
import javax.servlet.http.*;
import javax.servlet.*;
import org.compiere.model.*;
import java.util.logging.*;
import java.util.Properties;
import java.util.logging.Level;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.compiere.model.MBPBankAccount;
import org.compiere.model.MMailMsg;
import org.compiere.model.MSession;
/**

View File

@ -16,13 +16,19 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import java.text.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.Serializable;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Enumeration;
import java.util.Locale;
import java.util.Properties;
import org.compiere.model.*;
import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.compiere.model.MClient;
import org.compiere.model.MStore;
/**

View File

@ -16,19 +16,53 @@
*****************************************************************************/
package org.compiere.util;
import java.io.*;
import java.math.*;
import java.net.*;
import java.sql.*;
import java.text.*;
import java.util.*;
import java.util.logging.*;
import javax.mail.internet.*;
import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.ecs.*;
import org.apache.ecs.xhtml.*;
import org.compiere.model.*;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.PrintWriter;
import java.io.UnsupportedEncodingException;
import java.math.BigDecimal;
import java.net.URLDecoder;
import java.net.URLEncoder;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.DecimalFormat;
import java.text.SimpleDateFormat;
import java.util.Properties;
import java.util.logging.Level;
import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import org.apache.ecs.AlignType;
import org.apache.ecs.xhtml.a;
import org.apache.ecs.xhtml.body;
import org.apache.ecs.xhtml.br;
import org.apache.ecs.xhtml.hr;
import org.apache.ecs.xhtml.input;
import org.apache.ecs.xhtml.label;
import org.apache.ecs.xhtml.option;
import org.apache.ecs.xhtml.p;
import org.apache.ecs.xhtml.script;
import org.apache.ecs.xhtml.small;
import org.apache.ecs.xhtml.td;
import org.apache.ecs.xhtml.tr;
import org.compiere.model.MAttachment;
import org.compiere.model.MAttachmentEntry;
import org.compiere.model.MMailMsg;
import org.compiere.model.MRequest;
import org.compiere.model.MStore;
import org.compiere.model.MUserMail;
/**
* Servlet Utilities

View File

@ -16,11 +16,18 @@
*****************************************************************************/
package org.compiere.util;
import java.util.*;
import java.util.zip.*;
import java.util.jar.*;
import java.io.*;
import java.sql.*;
import java.io.File;
import java.io.IOException;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.jar.Attributes;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import java.util.jar.Manifest;
import java.util.zip.ZipEntry;
import java.util.zip.ZipFile;
/**
* Zip/Jar File Utilities