All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.hawt.git.FileContents Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
package io.hawt.git;

import java.util.List;

/**
 * Represents the text of a text file or a directory
 */
public class FileContents {
    private boolean directory;
    private List children;
    private String text;

    public FileContents(boolean directory, String text, List children) {
        this.directory = directory;
        this.text = text;
        this.children = children;
    }

    public List getChildren() {
        return children;
    }

    public String getText() {
        return text;
    }

    public boolean isDirectory() {
        return directory;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy