类 URLLocation

  • 所有已实现的接口:
    Location

    public class URLLocation
    extends FileLocation
    The URL Location.
    • 构造器详细资料

      • URLLocation

        public URLLocation​(java.net.URL url,
                           java.lang.String specification,
                           java.lang.String tempFilePrefix,
                           java.lang.String tempFileSuffix,
                           boolean tempFileDeleteOnExit)
        参数:
        url - The URL.
        specification - The spec.
        tempFilePrefix - the prefix.
        tempFileSuffix - The suffix.
        tempFileDeleteOnExit - delete on exit.
    • 方法详细资料

      • initFile

        protected void initFile()
                         throws java.io.IOException
        initialize file.
        覆盖:
        initFile 在类中 FileLocation
        抛出:
        java.io.IOException - in case error.