Index
All Classes and Interfaces|All Packages
B
- BLOB - Enum constant in enum class javiergs.tulip.URLObject.Kind
G
- getFileContent(String, String, String, String) - Method in class javiergs.tulip.GitHubHandler
-
Fetches the content of a file from a GitHub repository.
- getFileContentFromUrl(String) - Method in class javiergs.tulip.GitHubHandler
-
Fetches the content of a file from a GitHub URL.
- GitHubHandler - Class in javiergs.tulip
-
Lists files and folders in GitHub repositories and fetches file contents via the GitHub REST API.
- GitHubHandler() - Constructor for class javiergs.tulip.GitHubHandler
-
Constructs a GitHubHandler that loads a GITHUB_TOKEN from the tulip.properties file in the application classpath.
- GitHubHandler(String) - Constructor for class javiergs.tulip.GitHubHandler
-
Constructs a GitHubHandler using the specified token.
I
- isBlob() - Method in class javiergs.tulip.URLObject
-
Checks if the URL object represents a blob (file).
- isDirectory() - Method in class javiergs.tulip.URLObject
-
Checks if the URL object represents a directory (tree or root).
J
- javiergs.tulip - package javiergs.tulip
K
L
- listFiles(String) - Method in class javiergs.tulip.GitHubHandler
-
Lists files in a GitHub directory URL.
- listFiles(String, String, String, String) - Method in class javiergs.tulip.GitHubHandler
-
Lists files in a GitHub repository directory.
- listFilesRecursive(String) - Method in class javiergs.tulip.GitHubHandler
-
Recursively lists all files in a GitHub directory URL and its subdirectories.
- listFilesRecursive(String, String, String, String) - Method in class javiergs.tulip.GitHubHandler
-
Recursively lists all files in a GitHub repository directory and its subdirectories.
- listFolders(String) - Method in class javiergs.tulip.GitHubHandler
-
Lists folders in a GitHub directory URL.
- listFolders(String, String, String, String) - Method in class javiergs.tulip.GitHubHandler
-
Lists folders in a GitHub repository directory.
O
P
- parseGitHubUrl(String) - Static method in class javiergs.tulip.URLFactory
-
Parses a GitHub URL that explicitly uses /tree/ or /blob/.
- path - Variable in class javiergs.tulip.URLObject
R
- repository - Variable in class javiergs.tulip.URLObject
- revision - Variable in class javiergs.tulip.URLObject
- ROOT - Enum constant in enum class javiergs.tulip.URLObject.Kind
T
- toString() - Method in class javiergs.tulip.URLObject
-
Returns a readable string representation of this URLObject, including an owner, repository, revision, path, and kind.
- TREE - Enum constant in enum class javiergs.tulip.URLObject.Kind
U
- URLFactory - Class in javiergs.tulip
-
Parses a GitHub URL and returns a URLObject instance.
- URLFactory() - Constructor for class javiergs.tulip.URLFactory
- URLObject - Class in javiergs.tulip
-
Represents a GitHub URL object with an owner, repository, revision, path, and kind.
- URLObject(String, String, String, String, URLObject.Kind) - Constructor for class javiergs.tulip.URLObject
-
Constructs a URLObject with the specified parameters.
- URLObject.Kind - Enum Class in javiergs.tulip
-
The kind of the URL object: ROOT, TREE (directory), or BLOB (file).
V
- valueOf(String) - Static method in enum class javiergs.tulip.URLObject.Kind
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class javiergs.tulip.URLObject.Kind
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages