Android Open Source - digital-ocean-swimmer Domain Table

From Project

Back to project page digital-ocean-swimmer.


The source code is released under:

MIT License

If you think the Android project digital-ocean-swimmer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

//from w  w w. j av a2 s .  c  o m
public class DomainTable extends TableHelper {
  public static final String NAME = "name";
  public static final String TTL = "ttl";
  public static final String ZONE_FILE = "zone_file";  
  public DomainTable(){    
    columns.put(NAME, "text primary key");
    columns.put(TTL, "integer");
    columns.put(ZONE_FILE, "text");
    TABLE_NAME = "domains";

Java Source Code List