scopes = SLPUtil.parseScopes(scopeStr);
scopes = SLPUtil.stringToVector(scopeStr);
    public void fromInputStream(SLPInputStream stream) throws ServiceLocationException {        super.fromInputStream(stream);        try {            int len = stream.readShort(); // lenght of PRList            PRList = stream.readString(len); // PRList            len = stream.readShort(); // length of URL            url = stream.readString(len); // URL            len = stream.readShort(); // length of scope list            scopeStr = stream.readString(len); // scope list            len = stream.readShort(); // length of lag-list            tagList = stream.readString(len); // tag-list            len = stream.readShort(); // length of SPI string            SPI = stream.readString(len); // SPI string            if(len != 0) {                throw new ServiceLocationException(ServiceLocationException.AUTHENTICATION_UNKNOWN);            }        }catch(IOException ioe) {            throw new ServiceLocationException(ServiceLocationException.PARSE_ERROR);        }                // create scope vector...        scopes = SLPUtil.parseScopes(scopeStr);                // create tag vector        tags = SLPUtil.parseTags(tagList);                // create URL or ServiceType        try {            if(url.indexOf("//") != -1) {                serviceUrl = new ServiceURL(url);            }            else {                serviceType = new ServiceType(url);            }        }catch(Exception ex) {            throw new ServiceLocationException(ServiceLocationException.PARSE_ERROR);        }    }