Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

Commit

Permalink
1.添加Convert类,参照C# Convert类,实现了部分功能
Browse files Browse the repository at this point in the history
2.去掉ConvertTool,TimeTool,暂时考虑到实用性并不是很高,先行去除
3.文件头,注释等补充完善
  • Loading branch information
Ayvytr committed Mar 16, 2017
1 parent 0df59c9 commit debc7d2
Show file tree
Hide file tree
Showing 22 changed files with 546 additions and 1,895 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@
import java.lang.ref.SoftReference;

/**
* Created by davidwang on 2017/3/15.
* Easy:入口类,单例模式。Tools包中或者其他需要用到Context的类在使用之前,
* 需要初始化这个类
* 这个库的单例入口类, Tools包中或者其他需要用到Context的类在使用之前,需要初始化这个类.
* <p>
* 提供了获取Context,常用SystemService等方法
* 提供了获取Context,常用SystemService等方法,在使用 ClipboardTool, DensityTool 等类之前,
* 需要调用'Easy.getDefault().init(context);' 初始化。
*
* @author Ayvytr <a href="https://github.com/Ayvytr" target="_blank">'s GitHub</a>
* @since 1.0.0
*/

public class Easy
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
package com.ayvytr.easyandroidlibrary.consts;

/**
* <pre>
* author: Blankj
* blog : http://blankj.com
* time : 2017/03/13
* desc : 正则相关常量
* </pre>
* 正则工具相关常量类.
* <p>
* blog : http://blankj.com
* </p>
*
* <p>
* @see com.ayvytr.easyandroidlibrary.tools.RegexTool
* @author Blankj
*/
public class RegexConstant
{
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
package com.ayvytr.easyandroidlibrary.exception;

/**
* Created by davidwang on 2017/3/15.
* <p>
* 使用withcontext库中的类时,未调用 Easy类的初始化过程
* 使用withcontext包中的类时,未调用 Easy类的初始化过程抛出此异常.
*/

public class UnInitLibraryException extends RuntimeException
Expand Down
Loading

0 comments on commit debc7d2

Please sign in to comment.