com.tagtraum.qtsampledsp
Class QTURL

java.lang.Object
  extended by com.tagtraum.qtsampledsp.QTURL

public class QTURL
extends Object

Attempt to work around issues with unicode characters in file paths (not names) on Windows. Wraps around real URL so we can create temp copies on the fly.

Date: 2/3/12

Author:
Hendrik Schreiber

Constructor Summary
QTURL(File file)
           
QTURL(URL url)
           
 
Method Summary
 void dispose()
          Deletes any temporary files that may have been created.
protected  void finalize()
           
 URL getOriginalURL()
           
 URL getURL()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QTURL

public QTURL(File file)
      throws MalformedURLException
Throws:
MalformedURLException

QTURL

public QTURL(URL url)
      throws MalformedURLException
Throws:
MalformedURLException
Method Detail

getOriginalURL

public URL getOriginalURL()

getURL

public URL getURL()
           throws IOException
Throws:
IOException

dispose

public void dispose()
             throws IOException
Deletes any temporary files that may have been created.

Throws:
IOException - if deletion fails

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable


Copyright © 2011-2012 tagtraum industries incorporated. All Rights Reserved.