diff --git a/api/xemantic-ai-file-magic.api b/api/xemantic-ai-file-magic.api index 7b7004a..5ded7a8 100644 --- a/api/xemantic-ai-file-magic.api +++ b/api/xemantic-ai-file-magic.api @@ -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 }