Package ru.aristar.jnuget.query

Examples of ru.aristar.jnuget.query.VersionEq


     * @throws URISyntaxException
     * @throws NugetFormatException ошибка вычисления HASH пакета
     */
    public TempNupkgFile getPackage(String id, Version version) throws IOException, URISyntaxException, NugetFormatException {
        IdEqIgnoreCase eqIgnoreCase = new IdEqIgnoreCase(id);
        VersionEq versionEq = new VersionEq(version);
        AndExpression andExpression = new AndExpression(eqIgnoreCase, versionEq);
        String filter = andExpression.toString();
        PackageFeed feed = getPackages(filter, null, 100, null, 0);
        if(feed.getEntries().isEmpty()) {
            return null;
View Full Code Here

TOP

Related Classes of ru.aristar.jnuget.query.VersionEq

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.