organize imports
This commit is contained in:
parent
97b965e42d
commit
2e48792949
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import org.compiere.process.*;
|
import org.compiere.process.ProcessInfo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Async Process Interface.
|
* Async Process Interface.
|
||||||
|
|
|
@ -16,9 +16,11 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.util.logging.*;
|
import java.util.logging.Level;
|
||||||
import javax.swing.*;
|
|
||||||
import org.compiere.process.*;
|
import javax.swing.SwingUtilities;
|
||||||
|
|
||||||
|
import org.compiere.process.ProcessInfo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ASync Worker for starting methods in classes implementing ASyncProcess
|
* ASync Worker for starting methods in classes implementing ASyncProcess
|
||||||
|
|
|
@ -5,8 +5,6 @@ import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.compiere.util.AmtInWords;
|
|
||||||
|
|
||||||
public class AmtInWords_HU implements AmtInWords {
|
public class AmtInWords_HU implements AmtInWords {
|
||||||
|
|
||||||
static String thousandseparator=",";
|
static String thousandseparator=",";
|
||||||
|
|
|
@ -16,9 +16,15 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.ByteArrayInputStream;
|
||||||
import java.util.logging.*;
|
import java.io.ByteArrayOutputStream;
|
||||||
import javax.activation.*;
|
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.
|
* A DataSource based on the Java Mail Example.
|
||||||
|
|
|
@ -16,8 +16,12 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.beans.*;
|
import java.beans.VetoableChangeListener;
|
||||||
import java.util.*;
|
import java.beans.VetoableChangeSupport;
|
||||||
|
import java.util.Collection;
|
||||||
|
import java.util.HashMap;
|
||||||
|
import java.util.Map;
|
||||||
|
import java.util.Set;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adempiere Cache.
|
* Adempiere Cache.
|
||||||
|
|
|
@ -16,13 +16,22 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.sql.*;
|
import java.sql.Connection;
|
||||||
import java.util.*;
|
import java.sql.ResultSet;
|
||||||
import javax.sql.*;
|
import java.sql.SQLException;
|
||||||
import javax.sql.rowset.*;
|
import java.sql.Statement;
|
||||||
import org.compiere.db.*;
|
import java.util.Collection;
|
||||||
import oracle.jdbc.rowset.*;
|
import java.util.Locale;
|
||||||
import com.sun.rowset.*;
|
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,9 +16,14 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.OutputStreamWriter;
|
||||||
import java.sql.*;
|
import java.io.PrintWriter;
|
||||||
import java.util.logging.*;
|
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
|
* Adempiere Console Logger
|
||||||
|
|
|
@ -16,11 +16,17 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.sql.*;
|
import java.sql.Timestamp;
|
||||||
import java.util.*;
|
import java.util.ArrayList;
|
||||||
import java.util.logging.*;
|
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
|
* Client Error Buffer
|
||||||
|
|
|
@ -16,9 +16,13 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.File;
|
||||||
import java.sql.*;
|
import java.io.FileWriter;
|
||||||
import java.util.logging.*;
|
import java.sql.Timestamp;
|
||||||
|
import java.util.logging.ErrorManager;
|
||||||
|
import java.util.logging.Handler;
|
||||||
|
import java.util.logging.Level;
|
||||||
|
import java.util.logging.LogRecord;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.util.logging.*;
|
import java.util.logging.Filter;
|
||||||
|
import java.util.logging.Level;
|
||||||
|
import java.util.logging.LogRecord;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,10 +16,14 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Toolkit;
|
||||||
import java.rmi.*;
|
import java.rmi.ServerException;
|
||||||
import java.sql.*;
|
import java.sql.SQLException;
|
||||||
import java.util.logging.*;
|
import java.sql.Timestamp;
|
||||||
|
import java.util.logging.Formatter;
|
||||||
|
import java.util.logging.Handler;
|
||||||
|
import java.util.logging.Level;
|
||||||
|
import java.util.logging.LogRecord;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,15 +16,27 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.BufferedInputStream;
|
||||||
import java.net.*;
|
import java.io.InputStream;
|
||||||
import java.sql.*;
|
import java.io.PrintWriter;
|
||||||
import java.util.*;
|
import java.net.InetAddress;
|
||||||
import java.util.jar.*;
|
import java.sql.DriverManager;
|
||||||
import java.util.logging.*;
|
import java.util.ArrayList;
|
||||||
import org.compiere.*;
|
import java.util.Arrays;
|
||||||
import org.compiere.db.*;
|
import java.util.Enumeration;
|
||||||
import org.compiere.model.*;
|
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;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
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.
|
* Log4J Utilities.
|
||||||
|
|
|
@ -16,8 +16,9 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.Serializable;
|
||||||
import java.util.logging.*;
|
import java.util.logging.LogManager;
|
||||||
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.lang.management.*;
|
import java.lang.management.MemoryUsage;
|
||||||
import java.text.*;
|
import java.text.DecimalFormat;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Memory Usage Info
|
* Memory Usage Info
|
||||||
|
|
|
@ -16,9 +16,10 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
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
|
* Interface to wrap and extend Statement
|
||||||
|
|
|
@ -16,11 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.rmi.*;
|
import java.util.ArrayList;
|
||||||
import java.util.*;
|
|
||||||
import java.util.logging.*;
|
|
||||||
import org.compiere.db.*;
|
|
||||||
import org.compiere.interfaces.*;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adempiere Cache Manangement
|
* Adempiere Cache Manangement
|
||||||
|
|
|
@ -16,11 +16,14 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.net.*;
|
import java.net.InetAddress;
|
||||||
import java.util.*;
|
import java.net.UnknownHostException;
|
||||||
import javax.naming.*;
|
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
|
* Apps Server Connection Test
|
||||||
|
|
|
@ -16,8 +16,11 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.text.*;
|
import java.text.DateFormat;
|
||||||
import java.util.*;
|
import java.text.DecimalFormat;
|
||||||
|
import java.text.NumberFormat;
|
||||||
|
import java.text.SimpleDateFormat;
|
||||||
|
import java.util.Locale;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,16 +16,36 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.File;
|
||||||
import java.net.*;
|
import java.io.IOException;
|
||||||
import java.util.*;
|
import java.io.Serializable;
|
||||||
import java.util.logging.*;
|
import java.net.URL;
|
||||||
import javax.activation.*;
|
import java.util.ArrayList;
|
||||||
import javax.mail.*;
|
import java.util.Collection;
|
||||||
import javax.mail.internet.*;
|
import java.util.Enumeration;
|
||||||
import com.sun.mail.smtp.*;
|
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.
|
* EMail Object.
|
||||||
|
|
|
@ -16,8 +16,10 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.util.logging.*;
|
import java.util.logging.Level;
|
||||||
import javax.mail.*;
|
|
||||||
|
import javax.mail.Authenticator;
|
||||||
|
import javax.mail.PasswordAuthentication;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Email User Authentification
|
* Email User Authentification
|
||||||
|
|
|
@ -16,8 +16,9 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.File;
|
||||||
import junit.framework.*;
|
|
||||||
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The class <code>EMailTest</code> contains tests for the class
|
* The class <code>EMailTest</code> contains tests for the class
|
||||||
|
|
|
@ -16,8 +16,9 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.InputStream;
|
||||||
import java.util.*;
|
import java.util.Properties;
|
||||||
|
import java.util.StringTokenizer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Environment Loader - loads system environment variables int System.properties
|
* Environment Loader - loads system environment variables int System.properties
|
||||||
|
|
|
@ -16,9 +16,10 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.math.*;
|
import java.math.BigDecimal;
|
||||||
import java.util.*;
|
import java.util.ArrayList;
|
||||||
import java.util.logging.*;
|
import java.util.StringTokenizer;
|
||||||
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,10 +16,11 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import javax.swing.filechooser.*;
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
import javax.swing.filechooser.FileFilter;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extension File Chooser
|
* Extension File Chooser
|
||||||
|
|
|
@ -16,11 +16,16 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.DataInputStream;
|
||||||
import java.util.logging.*;
|
import java.io.IOException;
|
||||||
import javax.servlet.*;
|
import java.util.logging.Level;
|
||||||
import javax.servlet.http.*;
|
|
||||||
import org.apache.ecs.xhtml.*;
|
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.
|
* Web File Upload utility.
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
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.
|
* ECS Component Collection.
|
||||||
|
|
|
@ -16,15 +16,25 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.BorderLayout;
|
||||||
import java.awt.event.*;
|
import java.awt.Color;
|
||||||
import java.net.*;
|
import java.awt.Dimension;
|
||||||
import java.util.*;
|
import java.awt.FlowLayout;
|
||||||
import java.util.logging.*;
|
import java.awt.event.ActionEvent;
|
||||||
import javax.swing.*;
|
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.adempiere.plaf.AdempierePLAF;
|
||||||
import org.compiere.swing.*;
|
import org.compiere.swing.CPanel;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Init Dialog
|
* Init Dialog
|
||||||
|
|
|
@ -16,12 +16,17 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.ComponentOrientation;
|
||||||
import java.io.*;
|
import java.io.Serializable;
|
||||||
import java.text.*;
|
import java.text.DateFormat;
|
||||||
import java.util.*;
|
import java.text.DecimalFormatSymbols;
|
||||||
import java.util.logging.*;
|
import java.text.SimpleDateFormat;
|
||||||
import javax.print.attribute.standard.*;
|
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.
|
* Language Management.
|
||||||
|
|
|
@ -16,15 +16,25 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.security.*;
|
import java.security.Principal;
|
||||||
import java.sql.*;
|
import java.sql.Connection;
|
||||||
import java.util.*;
|
import java.sql.PreparedStatement;
|
||||||
import java.util.logging.*;
|
import java.sql.ResultSet;
|
||||||
import javax.swing.*;
|
import java.sql.SQLException;
|
||||||
//
|
import java.util.ArrayList;
|
||||||
import org.compiere.*;
|
import java.util.Locale;
|
||||||
import org.compiere.db.*;
|
import java.util.Properties;
|
||||||
import org.compiere.model.*;
|
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;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,16 +16,16 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.sql.PreparedStatement;
|
import java.sql.PreparedStatement;
|
||||||
import java.sql.ResultSet;
|
import java.sql.ResultSet;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
import java.text.MessageFormat;
|
import java.text.MessageFormat;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Properties;
|
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
|
* Reads all Messages and stores them in a HashMap
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.Serializable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Null Parameter for CPreparedStatement
|
* Null Parameter for CPreparedStatement
|
||||||
|
|
|
@ -16,8 +16,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.Serializable;
|
||||||
//import oracle.AQ.*;
|
|
||||||
|
|
||||||
//import org.compiere.db.CConnection;
|
//import org.compiere.db.CConnection;
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,10 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.math.*;
|
import java.math.BigDecimal;
|
||||||
import org.compiere.model.*;
|
|
||||||
|
import org.compiere.model.MWarehouse;
|
||||||
|
import org.compiere.model.X_T_Replenish;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom Replenishment Interface
|
* Custom Replenishment Interface
|
||||||
|
|
|
@ -16,11 +16,17 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.math.*;
|
import java.math.BigDecimal;
|
||||||
import java.security.*;
|
import java.security.AlgorithmParameters;
|
||||||
|
import java.security.MessageDigest;
|
||||||
|
import java.security.NoSuchAlgorithmException;
|
||||||
import java.sql.Timestamp;
|
import java.sql.Timestamp;
|
||||||
import java.util.logging.*;
|
import java.util.logging.Level;
|
||||||
import javax.crypto.*;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
|
import javax.crypto.Cipher;
|
||||||
|
import javax.crypto.KeyGenerator;
|
||||||
|
import javax.crypto.SecretKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Security Services.
|
* Security Services.
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.Properties;
|
||||||
import java.util.logging.*;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Security Engine
|
* Security Engine
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.math.*;
|
import java.math.BigDecimal;
|
||||||
import java.sql.*;
|
import java.sql.Timestamp;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adempiere Security Interface.
|
* Adempiere Security Interface.
|
||||||
|
|
|
@ -16,8 +16,23 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.BorderLayout;
|
||||||
import java.net.*;
|
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 java.util.Locale;
|
||||||
|
|
||||||
import org.compiere.Adempiere;
|
import org.compiere.Adempiere;
|
||||||
|
|
|
@ -16,8 +16,10 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.IOException;
|
||||||
import java.util.logging.*;
|
import java.io.InputStream;
|
||||||
|
import java.io.OutputStream;
|
||||||
|
import java.util.logging.Level;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute OS Task
|
* Execute OS Task
|
||||||
|
|
|
@ -16,8 +16,10 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.sql.*;
|
import java.sql.Timestamp;
|
||||||
import java.util.*;
|
import java.util.BitSet;
|
||||||
|
import java.util.Calendar;
|
||||||
|
import java.util.GregorianCalendar;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,8 +16,8 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.ArrayList;
|
||||||
import java.util.logging.*;
|
import java.util.logging.Logger;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Trace Information
|
* Trace Information
|
||||||
|
|
|
@ -16,14 +16,23 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Color;
|
||||||
import java.awt.font.*;
|
import java.awt.font.TextAttribute;
|
||||||
import java.io.*;
|
import java.io.UnsupportedEncodingException;
|
||||||
import java.text.*;
|
import java.text.AttributedCharacterIterator;
|
||||||
import java.util.*;
|
import java.text.AttributedString;
|
||||||
import java.util.logging.*;
|
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
|
* General Utilities
|
||||||
|
|
|
@ -16,11 +16,28 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.OutputStream;
|
||||||
|
import java.io.PrintWriter;
|
||||||
import java.util.Properties;
|
import java.util.Properties;
|
||||||
|
|
||||||
import org.apache.ecs.*;
|
import org.apache.ecs.AlignType;
|
||||||
import org.apache.ecs.xhtml.*;
|
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;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,16 +16,35 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.sql.*;
|
import java.sql.Timestamp;
|
||||||
import java.util.*;
|
import java.util.Enumeration;
|
||||||
import java.util.logging.*;
|
import java.util.Properties;
|
||||||
import javax.servlet.*;
|
import java.util.logging.Level;
|
||||||
import javax.servlet.http.*;
|
|
||||||
import org.apache.ecs.*;
|
|
||||||
import org.apache.ecs.xhtml.*;
|
|
||||||
|
|
||||||
import org.compiere.*;
|
import javax.servlet.ServletConfig;
|
||||||
import org.compiere.model.*;
|
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
|
* Web Environment and debugging
|
||||||
|
|
|
@ -16,11 +16,17 @@
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.*;
|
import java.util.Properties;
|
||||||
import javax.servlet.http.*;
|
import java.util.logging.Level;
|
||||||
import javax.servlet.*;
|
|
||||||
import org.compiere.model.*;
|
import javax.servlet.ServletException;
|
||||||
import java.util.logging.*;
|
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;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,13 +16,19 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.Serializable;
|
||||||
import java.text.*;
|
import java.text.DecimalFormat;
|
||||||
import java.util.*;
|
import java.text.SimpleDateFormat;
|
||||||
import javax.servlet.*;
|
import java.util.Enumeration;
|
||||||
import javax.servlet.http.*;
|
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;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -16,19 +16,53 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.io.*;
|
import java.io.ByteArrayInputStream;
|
||||||
import java.math.*;
|
import java.io.ByteArrayOutputStream;
|
||||||
import java.net.*;
|
import java.io.File;
|
||||||
import java.sql.*;
|
import java.io.FileInputStream;
|
||||||
import java.text.*;
|
import java.io.IOException;
|
||||||
import java.util.*;
|
import java.io.PrintWriter;
|
||||||
import java.util.logging.*;
|
import java.io.UnsupportedEncodingException;
|
||||||
import javax.mail.internet.*;
|
import java.math.BigDecimal;
|
||||||
import javax.servlet.*;
|
import java.net.URLDecoder;
|
||||||
import javax.servlet.http.*;
|
import java.net.URLEncoder;
|
||||||
import org.apache.ecs.*;
|
import java.sql.Timestamp;
|
||||||
import org.apache.ecs.xhtml.*;
|
import java.text.DateFormat;
|
||||||
import org.compiere.model.*;
|
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
|
* Servlet Utilities
|
||||||
|
|
|
@ -16,11 +16,18 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.compiere.util;
|
package org.compiere.util;
|
||||||
|
|
||||||
import java.util.*;
|
import java.io.File;
|
||||||
import java.util.zip.*;
|
import java.io.IOException;
|
||||||
import java.util.jar.*;
|
import java.sql.Timestamp;
|
||||||
import java.io.*;
|
import java.util.ArrayList;
|
||||||
import java.sql.*;
|
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
|
* Zip/Jar File Utilities
|
||||||
|
|
Loading…
Reference in New Issue