]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.databoard/src/org/simantics/databoard/util/binary/RandomAccessBinary.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.databoard / src / org / simantics / databoard / util / binary / RandomAccessBinary.java
index 4e535905a96f64a238f05ad36f981c567f215a91..d224ee475baf30775517acd43b2399f3ab77e2dd 100644 (file)
@@ -1,21 +1,21 @@
-/*******************************************************************************\r
- * Copyright (c) 2010, 2016 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *     Semantum Oy - Implement java.io.Closeable\r
- *******************************************************************************/\r
+/*******************************************************************************
+ * Copyright (c) 2010, 2016 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *     Semantum Oy - Implement java.io.Closeable
+ *******************************************************************************/
 package org.simantics.databoard.util.binary;
 
-import java.io.Closeable;\r
-import java.io.IOException;\r
-\r
-import org.simantics.databoard.file.RandomAccessBinaryList;\r
+import java.io.Closeable;
+import java.io.IOException;
+
+import org.simantics.databoard.file.RandomAccessBinaryList;
 
 /**
  * Random access binary is a interface to access a binary object (BLOB).
@@ -38,21 +38,21 @@ public interface RandomAccessBinary extends Closeable, BinaryWriteable, BinaryRe
         * 
         * @throws IOException
         */
-       void flush() throws IOException;\r
-       \r
-       /**\r
-        * Reset internal cache. Before reseting unwritten changes are flushed to \r
-        * disc.\r
-        */\r
+       void flush() throws IOException;
+       
+       /**
+        * Reset internal cache. Before reseting unwritten changes are flushed to 
+        * disc.
+        */
        void reset() throws IOException;
-       \r
-       enum ByteSide { Left, Neither, Right }\r
+       
+       enum ByteSide { Left, Neither, Right }
     
        /**
         * Remove bytes from the position of the current pointer. If the pointer is 
         * outside the blob, an error is thrown. 
         * 
-        * @param bytes\r
+        * @param bytes
         * @param side
         * @throws IOException
         */
@@ -64,7 +64,7 @@ public interface RandomAccessBinary extends Closeable, BinaryWriteable, BinaryRe
         * 
         * The operation does not move pointer.
         * 
-        * @param bytes\r
+        * @param bytes
         * @param side
         * @throws IOException
         */
@@ -90,12 +90,12 @@ public interface RandomAccessBinary extends Closeable, BinaryWriteable, BinaryRe
         * Flush and close the blob. 
         */
        void close() throws IOException;
-\r
-       /**\r
-        * Check if binary is open.\r
-        * \r
-        * @return true if file is open\r
-        */\r
+
+       /**
+        * Check if binary is open.
+        * 
+        * @return true if file is open
+        */
        boolean isOpen();
 
        /**