Class PartUtils
- java.lang.Object
-
- org.apache.myfaces.tobago.internal.util.PartUtils
-
public final class PartUtils extends Object
Only needed for Servlet 3.0. Not needed for Servlet 3.1 or higher.Basically taken from Apache Tomcat 8
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getSubmittedFileName(javax.servlet.http.Part part)
This is a helper method, to get the original file name of the upload.
-
-
-
Method Detail
-
getSubmittedFileName
public static String getSubmittedFileName(javax.servlet.http.Part part)
This is a helper method, to get the original file name of the upload. If you have at least Servlet 3.1, you wouldn't need this function.- Since:
- Tobago 3.0.0
-
-