toggle menu
openrs2
jvm
switch theme
search in API
openrs2
/
org.openrs2.archive.client
/
ClientImporter
Client
Importer
@
Singleton
class
ClientImporter
@
Inject
constructor
(
database
:
Database
,
alloc
:
ByteBufAllocator
,
packClassLibraryReader
:
PackClassLibraryReader
,
importer
:
CacheImporter
)
Members
Constructors
Client
Importer
Link copied to clipboard
@
Inject
constructor
(
database
:
Database
,
alloc
:
ByteBufAllocator
,
packClassLibraryReader
:
PackClassLibraryReader
,
importer
:
CacheImporter
)
Functions
import
Link copied to clipboard
suspend
fun
import
(
paths
:
Iterable
<
Path
>
,
name
:
String
?
,
description
:
String
?
,
url
:
String
?
,
skipErrors
:
Boolean
)
suspend
fun
import
(
artifact
:
Artifact
,
name
:
String
?
,
description
:
String
?
,
url
:
String
?
,
fileName
:
String
,
timestamp
:
Instant
)
refresh
Link copied to clipboard
suspend
fun
refresh
(
)