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 Details

    • 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