Skip to content

Commit

Permalink
API update
Browse files Browse the repository at this point in the history
  • Loading branch information
morisil committed Dec 24, 2024
1 parent 2155487 commit 11422a1
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions api/xemantic-ai-file-magic.api
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
public final class com/xemantic/ai/file/magic/ContentType : java/lang/Enum {
public static final field Companion Lcom/xemantic/ai/file/magic/ContentType$Companion;
public static final field GIF Lcom/xemantic/ai/file/magic/ContentType;
public static final field JPEG Lcom/xemantic/ai/file/magic/ContentType;
public static final field PDF Lcom/xemantic/ai/file/magic/ContentType;
public static final field PNG Lcom/xemantic/ai/file/magic/ContentType;
public static final field WEBP Lcom/xemantic/ai/file/magic/ContentType;
public final class com/xemantic/ai/file/magic/MediaType : java/lang/Enum {
public static final field Companion Lcom/xemantic/ai/file/magic/MediaType$Companion;
public static final field GIF Lcom/xemantic/ai/file/magic/MediaType;
public static final field JPEG Lcom/xemantic/ai/file/magic/MediaType;
public static final field PDF Lcom/xemantic/ai/file/magic/MediaType;
public static final field PNG Lcom/xemantic/ai/file/magic/MediaType;
public static final field WEBP Lcom/xemantic/ai/file/magic/MediaType;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public final fun getMime ()Ljava/lang/String;
public static fun valueOf (Ljava/lang/String;)Lcom/xemantic/ai/file/magic/ContentType;
public static fun values ()[Lcom/xemantic/ai/file/magic/ContentType;
public static fun valueOf (Ljava/lang/String;)Lcom/xemantic/ai/file/magic/MediaType;
public static fun values ()[Lcom/xemantic/ai/file/magic/MediaType;
}

public final class com/xemantic/ai/file/magic/ContentType$Companion {
public final fun detect ([B)Lcom/xemantic/ai/file/magic/ContentType;
public final class com/xemantic/ai/file/magic/MediaType$Companion {
public final fun detect ([B)Lcom/xemantic/ai/file/magic/MediaType;
}

public final class com/xemantic/ai/file/magic/ContentTypeKt {
public static final fun detectContentType (Lkotlinx/io/files/Path;)Lcom/xemantic/ai/file/magic/ContentType;
public static final fun detectContentType ([B)Lcom/xemantic/ai/file/magic/ContentType;
public static final fun startsWith ([B[Ljava/lang/String;)Z
public final class com/xemantic/ai/file/magic/MediaTypeKt {
public static final fun detectMediaType (Lkotlinx/io/files/Path;)Lcom/xemantic/ai/file/magic/MediaType;
public static final fun detectMediaType ([B)Lcom/xemantic/ai/file/magic/MediaType;
public static final fun startsWith ([BLjava/lang/String;)Z
public static final fun startsWith-VU-fvBY ([B[B)Z
}

public final class com/xemantic/ai/file/magic/PathsKt {
public static final fun readBytes (Lkotlinx/io/files/Path;)[B
public static final fun readText (Lkotlinx/io/files/Path;)Ljava/lang/String;
public static final fun toBytes (Lkotlinx/io/files/Path;)[B
}

0 comments on commit 11422a1

Please sign in to comment.