de.phleisch.app.itsucks.io
Class FileManager

java.lang.Object
  extended by de.phleisch.app.itsucks.io.FileManager

public class FileManager
extends java.lang.Object

Handy utility class to build the target path of an file to be downloaded and remove characters not allowed in the filename.

Author:
olli

Constructor Summary
FileManager(java.io.File pTargetPath)
           
 
Method Summary
 java.io.File buildSavePath(java.net.URL mUrl, java.lang.String pFilename)
          Builds a file path for the url to where the data can be saved.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileManager

public FileManager(java.io.File pTargetPath)
Method Detail

buildSavePath

public java.io.File buildSavePath(java.net.URL mUrl,
                                  java.lang.String pFilename)
Builds a file path for the url to where the data can be saved.

Parameters:
mUrl -
Returns:


Copyright © 2010. All Rights Reserved.