修改注释

pull/5/head
Surponess 3 weeks ago
parent bf28d55bb8
commit 90a23a35c7

Binary file not shown.

@ -26,7 +26,7 @@ import android.util.Log;
import java.util.HashMap;
/**
*
*
* 使
*/
public class Contact {

@ -19,7 +19,7 @@ package net.micode.notes.data;
import android.net.Uri;
/**
*
*
*
*
*/
@ -78,104 +78,87 @@ public class Notes {
public interface NoteColumns {
/**
* ID
* <P> : INTEGER (long) </P>
*/
public static final String ID = "_id";
/**
* ID
* <P> : INTEGER (long) </P>
*/
public static final String PARENT_ID = "parent_id";
/**
*
* <P> : INTEGER (long) </P>
*/
public static final String CREATED_DATE = "created_date";
/**
*
* <P> : INTEGER (long) </P>
*/
public static final String MODIFIED_DATE = "modified_date";
/**
*
* <P> : INTEGER (long) </P>
*/
public static final String ALERTED_DATE = "alert_date";
/**
*
* <P> : TEXT </P>
*/
public static final String SNIPPET = "snippet";
/**
* ID
* <P> : INTEGER (long) </P>
*/
public static final String WIDGET_ID = "widget_id";
/**
*
* <P> : INTEGER (long) </P>
*/
public static final String WIDGET_TYPE = "widget_type";
/**
* ID
* <P> : INTEGER (long) </P>
*/
public static final String BG_COLOR_ID = "bg_color_id";
/**
*
* <P> : INTEGER </P>
*
*/
public static final String HAS_ATTACHMENT = "has_attachment";
/**
*
* <P> : INTEGER (long) </P>
*/
public static final String NOTES_COUNT = "notes_count";
/**
*
* <P> : INTEGER </P>
*/
public static final String TYPE = "type";
/**
* ID
* <P> : INTEGER (long) </P>
*/
public static final String SYNC_ID = "sync_id";
/**
*
* <P> : INTEGER </P>
*/
public static final String LOCAL_MODIFIED = "local_modified";
/**
* ID
* <P> : INTEGER </P>
*/
public static final String ORIGIN_PARENT_ID = "origin_parent_id";
/**
* ID
* <P> : TEXT </P>
*/
public static final String GTASK_ID = "gtask_id";
/**
*
* <P> : INTEGER (long) </P>
*/
public static final String VERSION = "version";
}
@ -186,67 +169,56 @@ public class Notes {
public interface DataColumns {
/**
* ID
* <P> : INTEGER (long) </P>
*/
public static final String ID = "_id";
/**
* MIME
* <P> : Text </P>
*/
public static final String MIME_TYPE = "mime_type";
/**
* ID
* <P> : INTEGER (long) </P>
*/
public static final String NOTE_ID = "note_id";
/**
*
* <P> : INTEGER (long) </P>
*/
public static final String CREATED_DATE = "created_date";
/**
*
* <P> : INTEGER (long) </P>
*/
public static final String MODIFIED_DATE = "modified_date";
/**
*
* <P> : TEXT </P>
*/
public static final String CONTENT = "content";
/**
* 1{@link #MIMETYPE}
* <P> : INTEGER </P>
*/
public static final String DATA1 = "data1";
/**
* 2{@link #MIMETYPE}
* <P> : INTEGER </P>
*/
public static final String DATA2 = "data2";
/**
* 3{@link #MIMETYPE}
* <P> : TEXT </P>
*/
public static final String DATA3 = "data3";
/**
* 4{@link #MIMETYPE}
* <P> : TEXT </P>
*/
public static final String DATA4 = "data4";
/**
* 5{@link #MIMETYPE}
* <P> : TEXT </P>
*/
public static final String DATA5 = "data5";
}
@ -257,7 +229,6 @@ public class Notes {
public static final class TextNote implements DataColumns {
/**
* checklist
* <P> : Integer 1:checklist 0: </P>
*/
public static final String MODE = DATA1;
@ -276,13 +247,11 @@ public class Notes {
public static final class CallNote implements DataColumns {
/**
*
* <P> : INTEGER (long) </P>
*/
public static final String CALL_DATE = DATA1;
/**
*
* <P> : TEXT </P>
*/
public static final String PHONE_NUMBER = DATA3;

@ -27,7 +27,7 @@ import net.micode.notes.data.Notes.DataConstants;
import net.micode.notes.data.Notes.NoteColumns;
/**
*
*
*
*/
public class NotesDatabaseHelper extends SQLiteOpenHelper {
@ -65,7 +65,7 @@ public class NotesDatabaseHelper extends SQLiteOpenHelper {
NoteColumns.ORIGIN_PARENT_ID + " INTEGER NOT NULL DEFAULT 0," +
NoteColumns.GTASK_ID + " TEXT NOT NULL DEFAULT ''," +
NoteColumns.VERSION + " INTEGER NOT NULL DEFAULT 0" +
");
")";
// 创建笔记数据表的SQL语句
private static final String CREATE_DATA_TABLE_SQL =
@ -81,12 +81,12 @@ public class NotesDatabaseHelper extends SQLiteOpenHelper {
DataColumns.DATA3 + " TEXT NOT NULL DEFAULT ''," +
DataColumns.DATA4 + " TEXT NOT NULL DEFAULT ''," +
DataColumns.DATA5 + " TEXT NOT NULL DEFAULT ''" +
");
")";
// 创建笔记数据表中note_id列的索引
private static final String CREATE_DATA_NOTE_ID_INDEX_SQL =
"CREATE INDEX IF NOT EXISTS note_id_index ON " +
TABLE.DATA + "(" + DataColumns.NOTE_ID + ");"
TABLE.DATA + "(" + DataColumns.NOTE_ID + ")";
/**
*

@ -36,7 +36,7 @@ import net.micode.notes.data.NotesDatabaseHelper.TABLE;
/**
*
*
* CRUDContentProvider
*
*/

@ -26,7 +26,7 @@ import org.json.JSONObject;
/**
* - Task
* - Task
* Google
*/
public class MetaData extends Task {

@ -21,7 +21,7 @@ import android.database.Cursor;
import org.json.JSONObject;
/**
* -
* -
*
*/
public abstract class Node {

@ -36,7 +36,7 @@ import org.json.JSONObject;
/**
* SQL - CRUD
* SQL - CRUD
* ContentResolver
*/
public class SqlData {

@ -39,7 +39,7 @@ import java.util.ArrayList;
/**
* SqlNote -
* SqlNote -
* Google Tasks
*/
public class SqlNote {

@ -33,7 +33,7 @@ import org.json.JSONObject;
/**
* Task - Google Tasks
* Task - Google Tasks
* Node
*/
public class Task extends Node {

@ -31,7 +31,7 @@ import java.util.ArrayList;
/**
* TaskList - Google Tasks
* TaskList - Google Tasks
* Node
*/
public class TaskList extends Node {

@ -17,7 +17,7 @@
package net.micode.notes.gtask.exception;
/**
* Google Tasks
* Google Tasks
*/
public class ActionFailureException extends RuntimeException {
/** 序列化版本UID */

@ -17,7 +17,7 @@
package net.micode.notes.gtask.exception;
/**
* Google Tasks
* Google Tasks
*/
public class NetworkFailureException extends Exception {
/** 序列化版本UID */

@ -30,7 +30,7 @@ import net.micode.notes.ui.NotesPreferenceActivity;
/**
* GTaskASyncTask - Google Tasks
* GTaskASyncTask- Google Tasks
*/
public class GTaskASyncTask extends AsyncTask<Void, String, Integer> {

@ -62,7 +62,7 @@ import java.util.zip.InflaterInputStream;
/**
* Google Tasks
* Google Tasks
* Google Tasks APICRUD
* 使
*/

@ -49,7 +49,7 @@ import java.util.Map;
/**
* Google Tasks
* Google Tasks
* Google Tasks
*
*/

@ -35,7 +35,7 @@ import java.util.ArrayList;
/**
*
*
*
*
*/

@ -33,7 +33,7 @@ import net.micode.notes.tool.ResourceParser.NoteBgResources;
/**
*
*
*
*
*/

@ -37,7 +37,7 @@ import java.io.PrintStream;
/**
* -
* -
*
*/
public class BackupUtils {

@ -36,7 +36,7 @@ import java.util.HashSet;
/**
* -
* -
*
*/
public class DataUtils {

@ -17,7 +17,7 @@
package net.micode.notes.tool;
/**
* Google Tasks - Google Tasks
* Google Tasks - Google Tasks
* JSONGoogle Tasks API
*/
public class GTaskStringUtils {

@ -23,7 +23,7 @@ import net.micode.notes.R;
import net.micode.notes.ui.NotesPreferenceActivity;
/**
* - UI
* - UI
*
*/
public class ResourceParser {

@ -41,7 +41,7 @@ import java.io.IOException;
/**
*
*
*
*/
public class AlarmAlertActivity extends Activity implements OnClickListener, OnDismissListener {

@ -21,7 +21,7 @@ import android.content.Context;
import android.content.Intent;
/**
*
*
*
*/
public class AlarmReceiver extends BroadcastReceiver {

@ -73,7 +73,7 @@ import java.util.regex.Pattern;
/**
*
*
*
*
*/

@ -27,7 +27,7 @@ import net.micode.notes.tool.DataUtils;
/**
*
*
*
*/
public class NoteItemData {

@ -79,7 +79,7 @@ import java.io.InputStreamReader;
import java.util.HashSet;
/**
* -
* -
*
*
*/

@ -32,7 +32,7 @@ import java.util.Iterator;
/**
*
*
* CursorAdapter
*
*/

@ -33,7 +33,7 @@ import net.micode.notes.ui.NoteEditActivity;
import net.micode.notes.ui.NotesListActivity;
/**
*
*
*/
public abstract class NoteWidgetProvider extends AppWidgetProvider {
/** 数据库查询投影包含笔记ID、背景颜色ID和摘要 */

@ -25,7 +25,7 @@ import net.micode.notes.tool.ResourceParser;
/**
* 2x2
* 2x2
*/
public class NoteWidgetProvider_2x extends NoteWidgetProvider {
/**

@ -25,7 +25,7 @@ import net.micode.notes.tool.ResourceParser;
/**
* 4x4
* 4x4
*/
public class NoteWidgetProvider_4x extends NoteWidgetProvider {
/**

Loading…
Cancel
Save