commit 4a1f28b566f49bf664e306920a5ac5a488a22336 Author: Laurent Date: Tue Dec 12 12:56:24 2023 +0100 erste klassen diff --git a/.project b/.project new file mode 100644 index 0000000..56c817c --- /dev/null +++ b/.project @@ -0,0 +1,11 @@ + + + PR2Smits + + + + + + + + diff --git a/Blatt3/.classpath b/Blatt3/.classpath new file mode 100644 index 0000000..58b6707 --- /dev/null +++ b/Blatt3/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/Blatt3/.gitignore b/Blatt3/.gitignore new file mode 100644 index 0000000..ae3c172 --- /dev/null +++ b/Blatt3/.gitignore @@ -0,0 +1 @@ +/bin/ diff --git a/Blatt3/.project b/Blatt3/.project new file mode 100644 index 0000000..6d188a7 --- /dev/null +++ b/Blatt3/.project @@ -0,0 +1,17 @@ + + + Blatt3 + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/Blatt3/.settings/org.eclipse.core.resources.prefs b/Blatt3/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..4824b80 --- /dev/null +++ b/Blatt3/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/Blatt3/.settings/org.eclipse.jdt.core.prefs b/Blatt3/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..dbc27c5 --- /dev/null +++ b/Blatt3/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,14 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=17 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve +org.eclipse.jdt.core.compiler.compliance=17 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning +org.eclipse.jdt.core.compiler.release=enabled +org.eclipse.jdt.core.compiler.source=17 diff --git a/Blatt3/src/compressor/CompressingOutputStream.java b/Blatt3/src/compressor/CompressingOutputStream.java new file mode 100644 index 0000000..15bfcca --- /dev/null +++ b/Blatt3/src/compressor/CompressingOutputStream.java @@ -0,0 +1,14 @@ +package compressor; + +import java.io.FilterOutputStream; +import java.io.IOException; +import java.io.OutputStream; + +/** + * Stream implementation that performs an automatic run-length + * encoding of the written data. + */ + public class CompressingOutputStream { + + // TODO: Klasse implementieren +} diff --git a/Blatt3/src/compressor/DecompressingInputStream.java b/Blatt3/src/compressor/DecompressingInputStream.java new file mode 100644 index 0000000..90bdc37 --- /dev/null +++ b/Blatt3/src/compressor/DecompressingInputStream.java @@ -0,0 +1,13 @@ +package compressor; + +import java.io.IOException; +import java.io.InputStream; + +/** + * Stream that automatically decompresses data that was compressed + * with the {@link CompressingOutputStream}. + */ + public class DecompressingInputStream { + + // TODO: Klasse implementieren +} \ No newline at end of file