Browse Source

Java: adjust examples

pull/1784/head
Chris Lu 4 years ago
parent
commit
42e5ef4b01
  1. 2
      other/java/examples/src/main/java/com/seaweedfs/examples/ExampleReadFile.java
  2. 2
      other/java/examples/src/main/java/com/seaweedfs/examples/ExampleWatchFileChanges.java
  3. 2
      other/java/examples/src/main/java/com/seaweedfs/examples/ExampleWriteFile.java

2
other/java/examples/src/main/java/com/seaweedfs/examples/UnzipFile.java → other/java/examples/src/main/java/com/seaweedfs/examples/ExampleReadFile.java

@ -9,7 +9,7 @@ import java.io.InputStream;
import java.util.zip.ZipEntry; import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream; import java.util.zip.ZipInputStream;
public class UnzipFile {
public class ExampleReadFile {
public static void main(String[] args) throws IOException { public static void main(String[] args) throws IOException {

2
other/java/examples/src/main/java/com/seaweedfs/examples/WatchFiles.java → other/java/examples/src/main/java/com/seaweedfs/examples/ExampleWatchFileChanges.java

@ -7,7 +7,7 @@ import java.io.IOException;
import java.util.Date; import java.util.Date;
import java.util.Iterator; import java.util.Iterator;
public class WatchFiles {
public class ExampleWatchFileChanges {
public static void main(String[] args) throws IOException { public static void main(String[] args) throws IOException {

2
other/java/examples/src/main/java/com/seaweedfs/examples/WriteFile.java → other/java/examples/src/main/java/com/seaweedfs/examples/ExampleWriteFile.java

@ -9,7 +9,7 @@ import java.io.InputStream;
import java.util.zip.ZipEntry; import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream; import java.util.zip.ZipInputStream;
public class WriteFile {
public class ExampleWriteFile {
public static void main(String[] args) throws IOException { public static void main(String[] args) throws IOException {
Loading…
Cancel
Save