You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2008/07/31 23:04:17 UTC
svn commit: r681495 - in
/harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg:
JPEGCodec.java JPEGDecodeParam.java JPEGEncodeParam.java
JPEGEncodeParamImpl.java JPEGImageEncoder.java JPEGImageEncoderImpl.java
Author: hindessm
Date: Thu Jul 31 14:04:17 2008
New Revision: 681495
URL: http://svn.apache.org/viewvc?rev=681495&view=rev
Log:
Fixing missing svn:eol-style property.
Modified:
harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGCodec.java (contents, props changed)
harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGDecodeParam.java (contents, props changed)
harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGEncodeParam.java (contents, props changed)
harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGEncodeParamImpl.java (contents, props changed)
harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGImageEncoder.java (contents, props changed)
harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGImageEncoderImpl.java (contents, props changed)
Modified: harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGCodec.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGCodec.java?rev=681495&r1=681494&r2=681495&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGCodec.java (original)
+++ harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGCodec.java Thu Jul 31 14:04:17 2008
@@ -1,30 +1,30 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.sun.image.codec.jpeg;
-
-import java.awt.image.BufferedImage;
-import java.io.OutputStream;
-
-public class JPEGCodec {
- public static JPEGImageEncoder createJPEGEncoder(OutputStream out, JPEGEncodeParam jep) {
- return new JPEGImageEncoderImpl(out);
- }
-
- public static JPEGEncodeParam getDefaultJPEGEncodeParam(BufferedImage bi) {
- return new JPEGEncodeParamImpl();
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.sun.image.codec.jpeg;
+
+import java.awt.image.BufferedImage;
+import java.io.OutputStream;
+
+public class JPEGCodec {
+ public static JPEGImageEncoder createJPEGEncoder(OutputStream out, JPEGEncodeParam jep) {
+ return new JPEGImageEncoderImpl(out);
+ }
+
+ public static JPEGEncodeParam getDefaultJPEGEncodeParam(BufferedImage bi) {
+ return new JPEGEncodeParamImpl();
+ }
+}
Propchange: harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGCodec.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGDecodeParam.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGDecodeParam.java?rev=681495&r1=681494&r2=681495&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGDecodeParam.java (original)
+++ harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGDecodeParam.java Thu Jul 31 14:04:17 2008
@@ -1,21 +1,21 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.sun.image.codec.jpeg;
-
-public interface JPEGDecodeParam extends Cloneable {
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.sun.image.codec.jpeg;
+
+public interface JPEGDecodeParam extends Cloneable {
+
+}
Propchange: harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGDecodeParam.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGEncodeParam.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGEncodeParam.java?rev=681495&r1=681494&r2=681495&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGEncodeParam.java (original)
+++ harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGEncodeParam.java Thu Jul 31 14:04:17 2008
@@ -1,21 +1,21 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.sun.image.codec.jpeg;
-
-public interface JPEGEncodeParam {
- void setQuality(float arg0, boolean arg1);
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.sun.image.codec.jpeg;
+
+public interface JPEGEncodeParam {
+ void setQuality(float arg0, boolean arg1);
+}
Propchange: harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGEncodeParam.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGEncodeParamImpl.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGEncodeParamImpl.java?rev=681495&r1=681494&r2=681495&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGEncodeParamImpl.java (original)
+++ harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGEncodeParamImpl.java Thu Jul 31 14:04:17 2008
@@ -1,27 +1,27 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.sun.image.codec.jpeg;
-
-class JPEGEncodeParamImpl implements JPEGEncodeParam {
-
- JPEGEncodeParamImpl() {
- }
-
- public void setQuality(float arg0, boolean arg1) {
- }
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.sun.image.codec.jpeg;
+
+class JPEGEncodeParamImpl implements JPEGEncodeParam {
+
+ JPEGEncodeParamImpl() {
+ }
+
+ public void setQuality(float arg0, boolean arg1) {
+ }
+
+}
Propchange: harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGEncodeParamImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGImageEncoder.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGImageEncoder.java?rev=681495&r1=681494&r2=681495&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGImageEncoder.java (original)
+++ harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGImageEncoder.java Thu Jul 31 14:04:17 2008
@@ -1,31 +1,31 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.sun.image.codec.jpeg;
-
-import java.awt.image.BufferedImage;
-import java.awt.image.Raster;
-import java.io.IOException;
-
-public interface JPEGImageEncoder {
- void encode(BufferedImage bi) throws IOException, ImageFormatException;
-
- void encode(BufferedImage bi, JPEGEncodeParam jep) throws IOException, ImageFormatException;
-
- void encode(Raster r) throws IOException, ImageFormatException;
-
- void encode(Raster r, JPEGEncodeParam jep) throws IOException, ImageFormatException;
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.sun.image.codec.jpeg;
+
+import java.awt.image.BufferedImage;
+import java.awt.image.Raster;
+import java.io.IOException;
+
+public interface JPEGImageEncoder {
+ void encode(BufferedImage bi) throws IOException, ImageFormatException;
+
+ void encode(BufferedImage bi, JPEGEncodeParam jep) throws IOException, ImageFormatException;
+
+ void encode(Raster r) throws IOException, ImageFormatException;
+
+ void encode(Raster r, JPEGEncodeParam jep) throws IOException, ImageFormatException;
+}
Propchange: harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGImageEncoder.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGImageEncoderImpl.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGImageEncoderImpl.java?rev=681495&r1=681494&r2=681495&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGImageEncoderImpl.java (original)
+++ harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGImageEncoderImpl.java Thu Jul 31 14:04:17 2008
@@ -1,49 +1,49 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package com.sun.image.codec.jpeg;
-
-import java.awt.image.BufferedImage;
-import java.awt.image.Raster;
-import java.io.IOException;
-import java.io.OutputStream;
-
-import javax.imageio.ImageIO;
-
-class JPEGImageEncoderImpl implements JPEGImageEncoder {
- private final OutputStream out;
-
- JPEGImageEncoderImpl(OutputStream out) {
- super();
- this.out = out;
- }
-
- public void encode(BufferedImage bi) throws IOException, ImageFormatException {
- ImageIO.write(bi, "jpg", out);
- }
-
- public void encode(BufferedImage bi, JPEGEncodeParam jep) throws IOException,
- ImageFormatException {
- }
-
- public void encode(Raster r) throws IOException, ImageFormatException {
-
- }
-
- public void encode(Raster r, JPEGEncodeParam jep) throws IOException, ImageFormatException {
-
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package com.sun.image.codec.jpeg;
+
+import java.awt.image.BufferedImage;
+import java.awt.image.Raster;
+import java.io.IOException;
+import java.io.OutputStream;
+
+import javax.imageio.ImageIO;
+
+class JPEGImageEncoderImpl implements JPEGImageEncoder {
+ private final OutputStream out;
+
+ JPEGImageEncoderImpl(OutputStream out) {
+ super();
+ this.out = out;
+ }
+
+ public void encode(BufferedImage bi) throws IOException, ImageFormatException {
+ ImageIO.write(bi, "jpg", out);
+ }
+
+ public void encode(BufferedImage bi, JPEGEncodeParam jep) throws IOException,
+ ImageFormatException {
+ }
+
+ public void encode(Raster r) throws IOException, ImageFormatException {
+
+ }
+
+ public void encode(Raster r, JPEGEncodeParam jep) throws IOException, ImageFormatException {
+
+ }
+}
Propchange: harmony/enhanced/classlib/trunk/modules/suncompat/src/main/java/com/sun/image/codec/jpeg/JPEGImageEncoderImpl.java
------------------------------------------------------------------------------
svn:eol-style = native