1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-14 05:25:07 -05:00

Moved the parser classes to the helper package.

This commit is contained in:
Sander Bogaert 2011-07-08 13:01:53 +02:00 committed by Andrew Chen
parent 7914a14a66
commit f494108dc6
4 changed files with 13 additions and 18 deletions

View File

@ -13,7 +13,7 @@ import android.widget.TextView;
import com.fsck.k9.K9; import com.fsck.k9.K9;
import com.fsck.k9.R; import com.fsck.k9.R;
import com.fsck.k9.activity.K9Activity; import com.fsck.k9.activity.K9Activity;
import com.fsck.k9.activity.setup.configxmlparser.ConfigurationXMLHandler; import com.fsck.k9.helper.configxmlparser.ConfigurationXMLHandler;
import com.fsck.k9.mail.store.TrustManagerFactory; import com.fsck.k9.mail.store.TrustManagerFactory;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;
import org.xml.sax.XMLReader; import org.xml.sax.XMLReader;

View File

@ -5,15 +5,11 @@
* This class stores all the configuration data we received for a specific emailprovider. * This class stores all the configuration data we received for a specific emailprovider.
*/ */
package com.fsck.k9.activity.setup.configxmlparser; package com.fsck.k9.helper.configxmlparser;
import java.security.PublicKey;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map;
import android.net.Uri;
import android.util.Pair; import android.util.Pair;
/* /*

View File

@ -29,7 +29,7 @@
since I have no clue what they are for and doubt they will be useful for k9. since I have no clue what they are for and doubt they will be useful for k9.
*/ */
package com.fsck.k9.activity.setup.configxmlparser; package com.fsck.k9.helper.configxmlparser;
// Sax stuff // Sax stuff
import org.xml.sax.Attributes; import org.xml.sax.Attributes;
@ -39,21 +39,20 @@ import org.xml.sax.SAXParseException;
import org.xml.sax.helpers.DefaultHandler; import org.xml.sax.helpers.DefaultHandler;
// Types // Types
import com.fsck.k9.activity.setup.configxmlparser.AutoconfigInfo.AuthenticationType; import com.fsck.k9.helper.configxmlparser.AutoconfigInfo.AuthenticationType;
import com.fsck.k9.activity.setup.configxmlparser.AutoconfigInfo.SocketType; import com.fsck.k9.helper.configxmlparser.AutoconfigInfo.SocketType;
import com.fsck.k9.activity.setup.configxmlparser.AutoconfigInfo.RestrictionType; import com.fsck.k9.helper.configxmlparser.AutoconfigInfo.RestrictionType;
import com.fsck.k9.activity.setup.configxmlparser.AutoconfigInfo.ServerType; import com.fsck.k9.helper.configxmlparser.AutoconfigInfo.ServerType;
import com.fsck.k9.activity.setup.configxmlparser.AutoconfigInfo.Server; import com.fsck.k9.helper.configxmlparser.AutoconfigInfo.Server;
import com.fsck.k9.activity.setup.configxmlparser.AutoconfigInfo.IncomingServerPOP3; import com.fsck.k9.helper.configxmlparser.AutoconfigInfo.IncomingServerPOP3;
import com.fsck.k9.activity.setup.configxmlparser.AutoconfigInfo.OutgoingServerSMTP; import com.fsck.k9.helper.configxmlparser.AutoconfigInfo.OutgoingServerSMTP;
import com.fsck.k9.activity.setup.configxmlparser.AutoconfigInfo.InputField; import com.fsck.k9.helper.configxmlparser.AutoconfigInfo.InputField;
import com.fsck.k9.activity.setup.configxmlparser.AutoconfigInfo.InformationBlock; import com.fsck.k9.helper.configxmlparser.AutoconfigInfo.InformationBlock;
import com.fsck.k9.activity.setup.configxmlparser.AutoconfigInfo.MutablePair; import com.fsck.k9.helper.configxmlparser.AutoconfigInfo.MutablePair;
// Other // Other
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import android.util.Pair;
public class ConfigurationXMLHandler extends DefaultHandler { public class ConfigurationXMLHandler extends DefaultHandler {