diff --git a/liwei_branch b/liwei_branch new file mode 100644 index 0000000..fa57a40 --- /dev/null +++ b/liwei_branch @@ -0,0 +1,32 @@ +// 定义一个简单的Java类,用于演示如何读取小米便签中的数据。 +import java.io.File; +import java.io.FileInputStream; +import java.util.Properties; + +public class MiNoteReader { + + public static void main(String[] args) { + try { + // 假设便签数据存储在一个名为notes.properties的文件中 + File propertiesFile = new File("notes.properties"); + FileInputStream fis = new FileInputStream(propertiesFile); + Properties properties = new Properties(); + + // 加载文件内容到Properties对象中 + properties.load(fis); + + // 读取属性 + String note1 = properties.getProperty("note1"); + String note2 = properties.getProperty("note2"); + + // 打印便签内容 + System.out.println("第一条便签记录: " + note1); + System.out.println("第二条便签记录: " + note2); + + // 关闭文件输入流 + fis.close(); + } catch (Exception e) { + e.printStackTrace(); + } + } +} \ No newline at end of file diff --git a/src/Notes-master/.idea/gradle.xml b/src/Notes-master/.idea/gradle.xml index 7ac24c7..8307b77 100644 --- a/src/Notes-master/.idea/gradle.xml +++ b/src/Notes-master/.idea/gradle.xml @@ -14,5 +14,6 @@ + //4325365 \ No newline at end of file diff --git a/yangjiangqiang_branch b/yangjiangqiang_branch new file mode 100644 index 0000000..e58eee2 --- /dev/null +++ b/yangjiangqiang_branch @@ -0,0 +1 @@ +wqdada \ No newline at end of file diff --git a/zengchuanhai_branch b/zengchuanhai_branch new file mode 100644 index 0000000..30d74d2 --- /dev/null +++ b/zengchuanhai_branch @@ -0,0 +1 @@ +test \ No newline at end of file diff --git a/zhangsan_branch b/zhangsan_branch new file mode 100644 index 0000000..0b7785b --- /dev/null +++ b/zhangsan_branch @@ -0,0 +1 @@ +wqeddfwadadad \ No newline at end of file diff --git a/zhuzhiqiang_branch b/zhuzhiqiang_branch new file mode 100644 index 0000000..3bfbf94 --- /dev/null +++ b/zhuzhiqiang_branch @@ -0,0 +1 @@ +askhjdasjhds \ No newline at end of file