MediaCacheTable.java 1.1 KB
package com.bitstrips.imoji.persistence;

import com.bitstrips.imoji.database.DbTable;
import com.bitstrips.imoji.database.DbTableSchema;
import com.bitstrips.imoji.database.DbTableSchema.DataType;

public class MediaCacheTable
  extends DbTable
{
  public static final int CACHE_KEY_INDEX = 0;
  public static final String COLUMN_CACHE_KEY = "cache_key";
  public static final String COLUMN_URL = "url";
  public static final String[] PROJECTION;
  public static final int URL_INDEX = 1;
  private static final DbTableSchema[] a;
  
  static
  {
    int i = 0;
    a = new DbTableSchema[] { new DbTableSchema("cache_key", DbTableSchema.DataType.STRING, "PRIMARY KEY"), new DbTableSchema("url", DbTableSchema.DataType.STRING, null) };
    PROJECTION = new String[2];
    while (i < 2)
    {
      PROJECTION[i] = a[i].getColumnName();
      i += 1;
    }
  }
  
  public MediaCacheTable()
  {
    super("cache_entries", a);
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/bitstrips/imoji/persistence/MediaCacheTable.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */