com.liferay.portal.kernel.util
Class TempFileUtil
java.lang.Object
com.liferay.portal.kernel.util.TempFileUtil
public class TempFileUtil
- extends Object
Method Summary |
static String |
addTempFile(long userId,
String tempPathName,
File file)
|
static String |
addTempFile(long userId,
String fileName,
String tempPathName,
File file)
|
static String |
addTempFile(long userId,
String fileName,
String tempPathName,
InputStream inputStream)
|
static String |
addTempFile(String tempPathName,
File file)
|
static String |
addTempFile(String fileName,
String tempPathName,
File file)
|
static void |
deleteTempFile(long userId,
String fileName,
String tempPathName)
|
static void |
deleteTempFile(String fileName,
String tempPathName)
|
static File |
getTempFile(long userId,
String fileName,
String tempPathName)
|
static File |
getTempFile(String fileName,
String tempPathName)
|
static String[] |
getTempFileEntryNames(long userId,
String tempPathName)
|
static String[] |
getTempFileEntryNames(String tempPathName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TempFileUtil
public TempFileUtil()
addTempFile
public static String addTempFile(long userId,
String tempPathName,
File file)
throws IOException,
PortalException,
SystemException
- Throws:
IOException
PortalException
SystemException
addTempFile
public static String addTempFile(long userId,
String fileName,
String tempPathName,
File file)
throws IOException,
PortalException,
SystemException
- Throws:
IOException
PortalException
SystemException
addTempFile
public static String addTempFile(long userId,
String fileName,
String tempPathName,
InputStream inputStream)
throws IOException,
PortalException,
SystemException
- Throws:
IOException
PortalException
SystemException
addTempFile
public static String addTempFile(String tempPathName,
File file)
throws IOException,
PortalException,
SystemException
- Throws:
IOException
PortalException
SystemException
addTempFile
public static String addTempFile(String fileName,
String tempPathName,
File file)
throws IOException,
PortalException,
SystemException
- Throws:
IOException
PortalException
SystemException
deleteTempFile
public static void deleteTempFile(long userId,
String fileName,
String tempPathName)
deleteTempFile
public static void deleteTempFile(String fileName,
String tempPathName)
getTempFile
public static File getTempFile(long userId,
String fileName,
String tempPathName)
getTempFile
public static File getTempFile(String fileName,
String tempPathName)
getTempFileEntryNames
public static String[] getTempFileEntryNames(long userId,
String tempPathName)
getTempFileEntryNames
public static String[] getTempFileEntryNames(String tempPathName)