io.github.eliux.mega.cmd.AbstractMegaCmdCallerWithParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of megacmd4j Show documentation
Show all versions of megacmd4j Show documentation
Java client library that works on top of MEGAcmd to provide access to the services of Mega.nz
The newest version!
package io.github.eliux.mega.cmd;
import io.github.eliux.mega.MegaUtils;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;
public abstract class AbstractMegaCmdCallerWithParams
extends AbstractMegaCmdCaller {
@Override
protected List executableCommand() {
List command = new LinkedList<>();
command.addAll(super.executableCommand());
command.addAll(cmdParams());
return command;
}
abstract List cmdParams();
}