diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-11-29 21:53:09 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-30 10:05:21 +0100 |
commit | 9aef8a8185897b502a85244afc93ad9ead97a1a8 (patch) | |
tree | 6b2efa9a01e594f62b9027c0491314e71110bc6c /filter | |
parent | b6c357506740d14611603a4611f4aacaffe4ee13 (diff) |
SOTranscoder.java is unused (filter/svg)
Since 90f5ce36231551e226d4b3e2fefaa8493af692ac
svg-import-filter.diff: SVG Import Filter implementation in filter module
2010-09-14
Change-Id: Ic68e0e0c32fa26cccb0cb2092e5079ac74747794
Reviewed-on: https://gerrit.libreoffice.org/84093
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/svg/SOTranscoder.java | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/filter/source/svg/SOTranscoder.java b/filter/source/svg/SOTranscoder.java deleted file mode 100644 index 691d6ced7844..000000000000 --- a/filter/source/svg/SOTranscoder.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * 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 . - */ - -import java.io.*; -import org.apache.batik.transcoder.image.PNGTranscoder; -import org.apache.batik.transcoder.TranscoderInput; -import org.apache.batik.transcoder.TranscoderOutput; - -public class SOTranscoder -{ - public static void main(String [] args) throws Exception - { - PNGTranscoder aTranscoder = new PNGTranscoder(); - OutputStream aOStm = new FileOutputStream( args[ 1 ] ); - - aTranscoder.transcode( new TranscoderInput( new File( args[ 0 ] ).toURI().toURL().toString() ), new TranscoderOutput( aOStm ) ); - - aOStm.flush(); - aOStm.close(); - } -} |