- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {OutputStreamWriter o =
OutputStream out;new OutputStreamWriter(out)
OutputStream out;String charsetName;new OutputStreamWriter(out, charsetName)
HttpURLConnection connection;new OutputStreamWriter(connection.getOutputStream())
- Smart code suggestions by Codota
}
/** * Reads the resources for a category identified by the given category path.<p> * * @param cms the current cms context * @param categoryPath the path of the category to read the resources for * @param recursive <code>true</code> if including sub-categories * * @return a list of {@link CmsResource} objects * * @throws CmsException if something goes wrong * * @deprecated use {@link #readCategoryResources(CmsObject, String, boolean, String)} instead */ public List readCategoryResources(CmsObject cms, String categoryPath, boolean recursive) throws CmsException { return readCategoryResources(cms, categoryPath, recursive, null); }
/** * Reads the resources for a category identified by the given category path.<p> * * @param cms the current cms context * @param categoryPath the path of the category to read the resources for * @param recursive <code>true</code> if including sub-categories * @param referencePath the reference path to find all the category repositories * * @return a list of {@link CmsResource} objects * * @throws CmsException if something goes wrong */ public List<CmsResource> readCategoryResources( CmsObject cms, String categoryPath, boolean recursive, String referencePath) throws CmsException { return readCategoryResources(cms, categoryPath, recursive, referencePath, CmsResourceFilter.DEFAULT); }
result = service.readCategoryResources(getCms(), getParamGalleryPath(), true, editedResource);
result = service.readCategoryResources(getCms(), getParamGalleryPath(), true, editedResource);