Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

move namespaces under flatland

  • Loading branch information...
commit 7049d06874c09b70d2b7ce1623e9ee35143537b6 1 parent 46d0842
@ninjudd authored
View
7 project.clj
@@ -1,9 +1,8 @@
-(defproject io "0.2.1"
+(defproject org.flatland/io "0.2.2-SNAPSHOT"
:description "The innermost moon of Jupiter."
:url "https://github.com/flatland/io"
:license {:name "Eclipse Public License - v 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"}
- :dependencies [[org.clojure/clojure "1.3.0"]]
- :java-source-paths ["src/java"]
- :source-paths ["src/clj"]
+ :dependencies [[org.clojure/clojure "1.4.0"]]
+ :java-source-paths ["src"]
:javac-options ["-target" "1.5" "-source" "1.5"])
View
4 src/clj/io/core.clj → src/flatland/io/core.clj
@@ -1,9 +1,9 @@
-(ns io.core
+(ns flatland.io.core
(:use [clojure.java.io :only [default-streams-impl input-stream IOFactory]])
(:import (java.nio ByteBuffer)
(java.io SequenceInputStream)
(clojure.lang SeqEnumeration Seqable)
- (io.core InputStream InputStreamable)))
+ (flatland.io.core InputStream InputStreamable)))
(defn bytebuffer->inputstream [^ByteBuffer buf opts]
(InputStream.
View
4 src/java/io/core/InputStream.java → src/flatland/io/core/InputStream.java
@@ -1,4 +1,4 @@
-package io.core;
+package flatland.io.core;
public class InputStream extends java.io.InputStream {
final InputStreamable in;
@@ -41,4 +41,4 @@ public long skip(long n){
public void close(){
in.close();
}
-}
+}
View
2  src/java/io/core/InputStreamable.java → src/flatland/io/core/InputStreamable.java
@@ -1,4 +1,4 @@
-package io.core;
+package flatland.io.core;
public interface InputStreamable {
public int read(byte[] b, int off, int len);
View
4 src/java/io/core/OutputStream.java → src/flatland/io/core/OutputStream.java
@@ -1,4 +1,4 @@
-package io.core;
+package flatland.io.core;
public class OutputStream extends java.io.OutputStream {
final OutputStreamable out;
@@ -28,4 +28,4 @@ public void flush(){
public void close(){
out.close();
}
-}
+}
View
2  src/java/io/core/OutputStreamable.java → src/flatland/io/core/OutputStreamable.java
@@ -1,4 +1,4 @@
-package io.core;
+package flatland.io.core;
public interface OutputStreamable {
public void write(byte[] b, int off, int len);
View
4 test/io/core_test.clj → test/flatland/io/core_test.clj
@@ -1,6 +1,6 @@
-(ns io.core-test
+(ns flatland.io.core-test
(:use clojure.test
- io.core
+ flatland.io.core
[clojure.java.io :only [input-stream]])
(:import (java.nio ByteBuffer)))
Please sign in to comment.
Something went wrong with that request. Please try again.