From 126738554f50f43cbd21a87f74d66af0acbef8e2 Mon Sep 17 00:00:00 2001 From: Junyu Date: Thu, 15 May 2014 16:01:18 -0400 Subject: [PATCH] Create External Tools Demo //Here is a demo of how to use external-tools. //By Junyu Chen --- External Tools Demo | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 External Tools Demo diff --git a/External Tools Demo b/External Tools Demo new file mode 100644 index 0000000..ffe7fea --- /dev/null +++ b/External Tools Demo @@ -0,0 +1,28 @@ +//Here is a demo of how to use external-tools. +//By Junyu Chen + + + +checking the empty block-device: +hexedit block-device.data + +format the block-device: +java external_tools.ExternalTools 0 + +checking the formatted block-device: +hexedit block-device.data + +checking the makefile function when no such file exits: +java external_tools.ExternalTools 1 hoho.txt + +make the file, assuming that the file exists in the same directory with the block-device.data: +java external_tools.ExternalTools 1 hoho.txt + +read the file: +java external_tools.ExternalTools 2 hoho.txt + +delete the file: +java external_tools.ExternalTools 3 hoho.txt + +try to read it again: +java external_tools.ExternalTools 2 hoho.txt