Class PictureManifestUrlConnection
java.lang.Object
java.net.URLConnection
com._1c.g5.v8.dt.platform.pictures.PictureManifestUrlConnection
PictureManifest URL сonnection
-
Field Summary
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches -
Constructor Summary
ConstructorsConstructorDescriptionPictureManifestUrlConnection(URL url, IPictureManifest manifest, IPictureManifestQuery query) Create URL connection to image with picture manifestPictureManifestUrlConnection(URL url, IZipPictureManifest manifest, String entryName) Create URL connection to image with picture manifest -
Method Summary
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLengthLong, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getPermission, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
Constructor Details
-
PictureManifestUrlConnection
public PictureManifestUrlConnection(URL url, IPictureManifest manifest, IPictureManifestQuery query) throws IOException Create URL connection to image with picture manifest- Parameters:
url- the specified picture URL, cannot benullmanifest- the specifiedIPictureManifest, can benullquery- theIPictureManifestQueryfor get picture properies, cannot benull- Throws:
IOException- if there is a problem to read the picture content
-
PictureManifestUrlConnection
public PictureManifestUrlConnection(URL url, IZipPictureManifest manifest, String entryName) throws IOException Create URL connection to image with picture manifest- Parameters:
url- the specified picture URL, cannot benullmanifest- the specifiedIZipPictureManifest, cannot benullentryName- the zip entry name, cannot benull- Throws:
IOException- if there is a problem to read the picture content
-
-
Method Details
-
connect
- Specified by:
connectin classURLConnection- Throws:
IOException
-
getInputStream
- Overrides:
getInputStreamin classURLConnection- Throws:
IOException
-
getContentType
- Overrides:
getContentTypein classURLConnection
-
getContentLength
public int getContentLength()- Overrides:
getContentLengthin classURLConnection
-