示例#1
0
 /**
  * Sets the location used to temporarily store files that are larger than the configured size
  * threshold.
  *
  * @param repositoryPath The path to the temporary file location.
  * @see #getRepositoryPath()
  * @deprecated 1.1 Use <code>DiskFileItemFactory</code> instead.
  */
 @Deprecated
 public void setRepositoryPath(String repositoryPath) {
   fileItemFactory.setRepository(new File(repositoryPath));
 }
示例#2
0
 /**
  * Sets the size threshold beyond which files are written directly to disk.
  *
  * @param sizeThreshold The size threshold, in bytes.
  * @see #getSizeThreshold()
  * @deprecated 1.1 Use <code>DiskFileItemFactory</code> instead.
  */
 @Deprecated
 public void setSizeThreshold(int sizeThreshold) {
   fileItemFactory.setSizeThreshold(sizeThreshold);
 }
示例#3
0
 /**
  * Returns the location used to temporarily store files that are larger than the configured size
  * threshold.
  *
  * @return The path to the temporary file location.
  * @see #setRepositoryPath(String)
  * @deprecated 1.1 Use <code>DiskFileItemFactory</code> instead.
  */
 @Deprecated
 public String getRepositoryPath() {
   return fileItemFactory.getRepository().getPath();
 }
示例#4
0
 /**
  * Returns the size threshold beyond which files are written directly to disk.
  *
  * @return The size threshold, in bytes.
  * @see #setSizeThreshold(int)
  * @deprecated 1.1 Use <code>DiskFileItemFactory</code> instead.
  */
 @Deprecated
 public int getSizeThreshold() {
   return fileItemFactory.getSizeThreshold();
 }